Last edited by killcapital; 04-30-2008 at 09:00 PM.
The only compile error I got with that code is that you forgot to specify the int return type for main().
i need help asap
cpjust is that really an error? I thought it would only come up as a warning.
killcapital, you shouldn't delete your post after you've solved the problem. There's a high chance, especially if you're a beginner, that someone else will have the same problem as you.
I copied it from the last program in which I passed a parameter, which would have been pre-1989 I guess. - esbo
That's because it's homework and he's worried he'll get caught out.
I agree, DON'T DO IT. If you don't want your code on the internet don't post it!? If you're not allowed to ask for help on the internet -- DON'T!