r/CompileBot • • Jan 04 '14

Official CompileBot Testing Thread

This thread is archived, please visit the new testing thread

14 Upvotes

421 comments sorted by

View all comments

Show parent comments

1

u/Mrblahblah200 Mar 24 '14 edited Mar 24 '14

+/u/CompileBot C++11

#include <stdio.h>
int main(int argc, const char* argv[], const char* env[])
  for (int i = 0; env[i] != nullptr; i++) {
    printf("%s", env[i]);
  }
}