i've been around this compiler error, but can't figure out what's wrong with it:
I always get the same error!Code:main() { .... if (v_type != 'y' && v_type != 'Y') break; .... }
Is it the syntax?
Cheers,
Arr
i've been around this compiler error, but can't figure out what's wrong with it:
I always get the same error!Code:main() { .... if (v_type != 'y' && v_type != 'Y') break; .... }
Is it the syntax?
Cheers,
Arr
Show more code (surrounding that statement at least) and also tell us what the error is... don't make us guess.
"Owners of dogs will have noticed that, if you provide them with food and water and shelter and affection, they will think you are god. Whereas owners of cats are compelled to realize that, if you provide them with food and water and shelter and affection, they draw the conclusion that they are gods."
-Christopher Hitchens
sorry....my mistake! just put 1st bracket in wrong place.
change your break; to return <some number>. . . or, re-read post #2