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:
3.the two case all can run smoothly in "TC".Code:
i find the reason in thispage.
say thanks to laserlight,tabstop,adak,nkrao@gmail haha