Empty program: Difference between revisions
Content deleted Content added
Program was missing formal arguments and a return code |
argv is more of a "array of char * pointers" than a pointer to pointer |
||
Line 17: | Line 17: | ||
Compiler: [[GCC]] 4.0.3 |
Compiler: [[GCC]] 4.0.3 |
||
int main ( int argc, char |
int main ( int argc, char * argv[]) { |
||
return 0; |
return 0; |
||
} |
} |