There only 2 types of errors in c and c++....
They are syntactial error and logical error.
first type of error can be solved by using correct syntax.
logical error can be debugged by analysing whole in order of sequential execution of program...
There are lots of syntax errors in C. Each compiler uses different names and error strings for the errors that they catch, and that can even vary by operating system.
You're better off listing the errors you're getting and having people tell you how to fix them.