CronoDAS comments on Cargo Cult Language - Less Wrong
You are viewing a comment permalink. View the original post to see all comments and the full post content.
You are viewing a comment permalink. View the original post to see all comments and the full post content.
Comments (43)
I once had a compiler that threw up an error at "void main()" and forced me to use "int main()" instead...
Yes, C99 specifies that main() should be of type int, and most modern compilers will flag void main() as an error. This wasn't always the case, and some compilers may still let you get away with it.