On 10/30/07, bibin herbert <[EMAIL PROTECTED]> wrote:
> change the int main()  to int void main() some time it makes problem

1) main does not return void, float or struct foo. When writing code,
to ensure it's fully portable and compilable by anyone, it must return
int.

2) no function can have two return types ("int void" in your case.)

I suggest you get a better compiler/tutorial/teacher because the one
you're using at the moment is very, very broken.


-- 
PJH
"Statistics are like a bikini. What they reveal is suggestive, but
what they conceal is vital"
-- Aaron Levenstein

Reply via email to