hi, such message comes out when you have system problem:
it cannot out during normal compiling ops.
C language, differs from other in one essential things:
no funcions are part of language, also main() is external
In language there are only structure-control-program as
for, while, do... +- ecc.
When a compiler-link development tool is well installed,
main, is automatically found (normally it stays in libc)
Strange functions ( as math ) can be resolved only
including -lm in cl (DOS) or cc (Unix) command line.
If unresolved function is main() I belive that you are
writing a program outside Visual Studio env : is this right?
If you are at command line, have you launched VCVARS32.bat
( you find it under a \bin dir under Pr.Files\ VuslaStudio..
Are you using .c or .cpp file ?
bye