I've never touched C++ but I have done a little C. Is there any reason why you're using them headers? You should only need stdio, like so #include <stdio.h> int main(void) { printf("hello, world\n"); return 0; } unless you were planning to expand. Were you trying to get stdin from the user? I'm Perl/Haskell guy. Sorry I can't be of more help