Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

What are the contents of Test.cpp? It is reporting it can't find the definition of the main() function - without seeing the contents of Test.cpp as you have it saved on disk, it's hard to tell for certain what's going wrong.

The signature of main() could be wrong, or an errant semicolon could be making the definition not be found. Or main() could be in another file altogether that isn't being linked into Test. Without seeing Test.cpp I can't be certain what's going wrong.