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
Printable View
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.
sorry....my mistake! just put 1st bracket in wrong place.
change your break; to return <some number>. . . or, re-read post #2