
please wait
|
|
|
|
|
|
D:\...\proj1\test.cpp|1|warning C4067: unexpected tokens following preprocessor directive - expected a newline| C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xlocale|342|warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc| D:\...\proj1\test.cpp|6|error C2011: 'class1' : 'class' type redefinition| D:\...\proj1\test.cpp|27|error C2079: 'test' uses undefined class 'class1'| D:\...\proj1\test.cpp|33|error C2228: left of '.setSomething' must have class/struct/union| D:\...\proj1\test.cpp|34|error C2228: left of '.printSomething' must have class/struct/union| ||=== Build finished: 4 errors, 2 warnings ===| |
|
|
D:\...\proj1\test.cpp|1|warning C4067: unexpected tokens following preprocessor directive - expected a newline| C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xlocale|342|warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc| test.obj||error LNK2019: unresolved external symbol "public: void __thiscall class1::printSomething(void)" (?printSomething@class1@@QAEXXZ) referenced in function _main| test.obj||error LNK2019: unresolved external symbol "public: void __thiscall class1::setSomething(int,int)" (?setSomething@class1@@QAEXHH@Z) referenced in function _main| D:\...\proj1\test.exe||fatal error LNK1120: 2 unresolved externals| ||=== Build finished: 3 errors, 2 warnings ===| |
#include <iostream>; // Khm-khm
1>------ Build started: Project: test, Configuration: Debug Win32 ------ 1>Compiling... 1>class1.cpp 1>d:\...\class1.cpp(5) : error C2011: 'class1' : 'class' type redefinition 1> d:\...\class1.h(4) : see declaration of 'class1' 1>Build log was saved at "file://d:\...\BuildLog.htm" 1>test - 1 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== |
|
|
|
|
|
|
1>------ Build started: Project: test, Configuration: Debug Win32 ------ 1>Compiling... 1>main.cpp 1>class1.cpp 1>d:\...\class1.cpp(7) : error C2011: 'class1' : 'class' type redefinition 1> d:\...\class1.h(3) : see declaration of 'class1' 1>d:\...\class1.cpp(24) : fatal error C1004: unexpected end-of-file found 1>Generating Code... 1>Build log was saved at "file://d:\...\Debug\BuildLog.htm" 1>test - 2 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== |