This article is from the alt.comp.lang.learn.c-c++ Frequently Asked Questions. Compiled by Sunil Rao email@example.com.
Check your source to make sure you haven't missed any semi-colons or braces. Also remember that C and C++ are case-sensitive - Main() and main() are completely different, for instance. If you are satisfied that the program source is all right, then you probably have not set your compiler up properly. You might need to ask one of the experts in a newsgroup devoted to your compiler about this - see the answer to question 10.
The sole reason for redirecting compiler setup questions to other groups is to reinforce the point that a language is inherently separate from an implementation of one. There are simply too many different implementations of C and C++, and too many subtleties involved in the actual learning of C and C++ for all of them to come under the banner of this newsgroup.