preformance4.plg

来自「文件包含了很多VC实例」· PLG 代码 · 共 79 行

PLG
79
字号
<html>
<body>
<pre>
<h1>Build Log</h1>
<h3>
--------------------Configuration: Preformance4 - Win32 Debug--------------------
</h3>
<h3>Command Lines</h3>
Creating temporary file "C:\DOCUME~1\guwr\LOCALS~1\Temp\RSP1AF.tmp" with contents
[
/nologo /MLd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /Fp"Debug/Preformance4.pch" /YX /Fo"Debug/" /Fd"Debug/" /FD /GZ /c 
"C:\Program Files\Microsoft Visual Studio\MyProjects\Preformance4\student.cpp"
"C:\Program Files\Microsoft Visual Studio\MyProjects\Preformance4\main.cpp"
]
Creating command line "cl.exe @C:\DOCUME~1\guwr\LOCALS~1\Temp\RSP1AF.tmp" 
Creating temporary file "C:\DOCUME~1\guwr\LOCALS~1\Temp\RSP1B0.tmp" with contents
[
kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /incremental:yes /pdb:"Debug/Preformance4.pdb" /debug /machine:I386 /out:"Debug/Preformance4.exe" /pdbtype:sept 
".\Debug\student.obj"
".\Debug\main.obj"
]
Creating command line "link.exe @C:\DOCUME~1\guwr\LOCALS~1\Temp\RSP1B0.tmp"
<h3>Output Window</h3>
Compiling...
student.cpp
c:\program files\microsoft visual studio\myprojects\preformance4\student.h(14) : error C2629: unexpected 'class CStudent ('
c:\program files\microsoft visual studio\myprojects\preformance4\student.h(14) : error C2238: unexpected token(s) preceding ';'
c:\program files\microsoft visual studio\myprojects\preformance4\student.h(16) : error C2143: syntax error : missing ';' before '&'
c:\program files\microsoft visual studio\myprojects\preformance4\student.h(16) : error C2433: 'ostream' : 'friend' not permitted on data declarations
c:\program files\microsoft visual studio\myprojects\preformance4\student.h(16) : error C2501: 'ostream' : missing storage-class or type specifiers
c:\program files\microsoft visual studio\myprojects\preformance4\student.h(16) : error C2244: 'ostream' : unable to resolve function overload
c:\program files\microsoft visual studio\myprojects\preformance4\student.h(16) : error C2061: syntax error : identifier 'ostream'
c:\program files\microsoft visual studio\myprojects\preformance4\student.h(16) : error C2501: '<<' : missing storage-class or type specifiers
c:\program files\microsoft visual studio\myprojects\preformance4\student.h(16) : error C2805: binary 'operator <<' has too few parameters
c:\program files\microsoft visual studio\myprojects\preformance4\student.h(20) : error C2146: syntax error : missing ';' before identifier 'returnName'
c:\program files\microsoft visual studio\myprojects\preformance4\student.h(20) : error C2501: 'string' : missing storage-class or type specifiers
c:\program files\microsoft visual studio\myprojects\preformance4\student.cpp(12) : error C2511: 'CStudent::CStudent' : overloaded member function 'void (class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,double,double,double)' not found in 'CStudent'
        c:\program files\microsoft visual studio\myprojects\preformance4\student.h(6) : see declaration of 'CStudent'
c:\program files\microsoft visual studio\myprojects\preformance4\student.cpp(29) : error C2248: 'strName' : cannot access private member declared in class 'CStudent'
        c:\program files\microsoft visual studio\myprojects\preformance4\student.h(8) : see declaration of 'strName'
c:\program files\microsoft visual studio\myprojects\preformance4\student.cpp(29) : error C2248: 'chinese' : cannot access private member declared in class 'CStudent'
        c:\program files\microsoft visual studio\myprojects\preformance4\student.h(9) : see declaration of 'chinese'
c:\program files\microsoft visual studio\myprojects\preformance4\student.cpp(29) : error C2248: 'math' : cannot access private member declared in class 'CStudent'
        c:\program files\microsoft visual studio\myprojects\preformance4\student.h(10) : see declaration of 'math'
c:\program files\microsoft visual studio\myprojects\preformance4\student.cpp(29) : error C2248: 'english' : cannot access private member declared in class 'CStudent'
        c:\program files\microsoft visual studio\myprojects\preformance4\student.h(11) : see declaration of 'english'
c:\program files\microsoft visual studio\myprojects\preformance4\student.cpp(65) : error C2556: 'class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall CStudent::returnName(void)' : overloaded function differs only by return type from 'int __thiscall CStudent::returnName(void)'
        c:\program files\microsoft visual studio\myprojects\preformance4\student.h(20) : see declaration of 'returnName'
c:\program files\microsoft visual studio\myprojects\preformance4\student.cpp(65) : error C2371: 'returnName' : redefinition; different basic types
        c:\program files\microsoft visual studio\myprojects\preformance4\student.h(20) : see declaration of 'returnName'
main.cpp
c:\program files\microsoft visual studio\myprojects\preformance4\student.h(14) : error C2629: unexpected 'class CStudent ('
c:\program files\microsoft visual studio\myprojects\preformance4\student.h(14) : error C2238: unexpected token(s) preceding ';'
c:\program files\microsoft visual studio\myprojects\preformance4\student.h(16) : error C2143: syntax error : missing ';' before '&'
c:\program files\microsoft visual studio\myprojects\preformance4\student.h(16) : error C2433: 'ostream' : 'friend' not permitted on data declarations
c:\program files\microsoft visual studio\myprojects\preformance4\student.h(16) : error C2501: 'ostream' : missing storage-class or type specifiers
c:\program files\microsoft visual studio\myprojects\preformance4\student.h(16) : error C2244: 'ostream' : unable to resolve function overload
c:\program files\microsoft visual studio\myprojects\preformance4\student.h(16) : error C2061: syntax error : identifier 'ostream'
c:\program files\microsoft visual studio\myprojects\preformance4\student.h(16) : error C2501: '<<' : missing storage-class or type specifiers
c:\program files\microsoft visual studio\myprojects\preformance4\student.h(16) : error C2805: binary 'operator <<' has too few parameters
c:\program files\microsoft visual studio\myprojects\preformance4\student.h(20) : error C2146: syntax error : missing ';' before identifier 'returnName'
c:\program files\microsoft visual studio\myprojects\preformance4\student.h(20) : error C2501: 'string' : missing storage-class or type specifiers
c:\program files\microsoft visual studio\myprojects\preformance4\main.cpp(6) : error C2661: 'CStudent::CStudent' : no overloaded function takes 4 parameters
c:\program files\microsoft visual studio\myprojects\preformance4\main.cpp(7) : error C2661: 'CStudent::CStudent' : no overloaded function takes 4 parameters
c:\program files\microsoft visual studio\myprojects\preformance4\main.cpp(8) : error C2661: 'CStudent::CStudent' : no overloaded function takes 4 parameters
c:\program files\microsoft visual studio\myprojects\preformance4\main.cpp(10) : error C2679: binary '<<' : no operator defined which takes a right-hand operand of type 'class CStudent' (or there is no acceptable conversion)
c:\program files\microsoft visual studio\myprojects\preformance4\main.cpp(11) : error C2679: binary '<<' : no operator defined which takes a right-hand operand of type 'class CStudent' (or there is no acceptable conversion)
c:\program files\microsoft visual studio\myprojects\preformance4\main.cpp(12) : error C2679: binary '<<' : no operator defined which takes a right-hand operand of type 'class CStudent' (or there is no acceptable conversion)
c:\program files\microsoft visual studio\myprojects\preformance4\main.cpp(20) : error C2679: binary '<<' : no operator defined which takes a right-hand operand of type 'class CStudent' (or there is no acceptable conversion)
Error executing cl.exe.



<h3>Results</h3>
Preformance4.exe - 36 error(s), 0 warning(s)
</pre>
</body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?