hello everyone!
i found a strange thing.
1.i inputed the codes followed in "CodeBlocks",but it returned this "error:'main' must return 'int'".why?
2.but it run smoothly,when writing in this way(just without "void"):Code:#include<stdio.h> void main() { printf("hello world!"); }
3.the two case all can run smoothly in "TC".Code:#include<stdio.h> main() { printf("hello world!"); }
why?
i find the reason in thispage.
say thanks to laserlight,tabstop,adak,nkrao@gmail haha



LinkBack URL
About LinkBacks




