in reply to Perl and C don't always mix well
Oops, forgot that you need a semi-colon, even if followed by a closing brace.#include <stdlib.h> #include <stdio.h> void main () { printf "Hello world\n" }
What's wrong now? (time passes...) Ah yes, you need parentheses.#include <stdlib.h> #include <stdio.h> void main () { printf "Hello world\n"; }
Yeah, it works!#include <stdlib.h> #include <stdio.h> void main () { printf("Hello world\n"); }
|
|---|