📄 背包问题.plg
字号:
<html>
<body>
<pre>
<h1>Build Log</h1>
<h3>
--------------------Configuration: 背包问题 - Win32 Debug--------------------
</h3>
<h3>Command Lines</h3>
Creating temporary file "C:\DOCUME~1\王华章\LOCALS~1\Temp\RSPE1.tmp" with contents
[
/nologo /MLd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /Fp"Debug/背包问题.pch" /YX /Fo"Debug/" /Fd"Debug/" /FD /GZ /c
"E:\C\数据结构作业\背包问题\beibao.cpp"
"E:\C\数据结构作业\背包问题\linkedstack.cpp"
"E:\C\数据结构作业\背包问题\main.cpp"
]
Creating command line "cl.exe @"C:\DOCUME~1\王华章\LOCALS~1\Temp\RSPE1.tmp""
Creating temporary file "C:\DOCUME~1\王华章\LOCALS~1\Temp\RSPE2.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/背包问题.pdb" /debug /machine:I386 /out:"Debug/背包问题.exe" /pdbtype:sept
".\Debug\beibao.obj"
".\Debug\linkedstack.obj"
".\Debug\main.obj"
]
Creating command line "link.exe @"C:\DOCUME~1\王华章\LOCALS~1\Temp\RSPE2.tmp""
<h3>Output Window</h3>
Compiling...
beibao.cpp
e:\c\数据结构作业\背包问题\linkedstack.h(16) : error C2143: syntax error : missing ';' before '*'
e:\c\数据结构作业\背包问题\linkedstack.h(16) : error C2501: 'Node' : missing storage-class or type specifiers
e:\c\数据结构作业\背包问题\linkedstack.h(16) : error C2501: 'top' : missing storage-class or type specifiers
e:\c\数据结构作业\背包问题\beibao.cpp(9) : error C2511: 'loading' : overloaded member function 'void (int *,int,int &)' not found in 'beibao'
e:\c\数据结构作业\背包问题\beibao.h(6) : see declaration of 'beibao'
e:\c\数据结构作业\背包问题\beibao.cpp(83) : error C2065: 'top' : undeclared identifier
linkedstack.cpp
e:\c\数据结构作业\背包问题\linkedstack.cpp(32) : error C2511: 'Add' : overloaded member function 'class linkedstack &(const int &,int)' not found in 'linkedstack'
e:\c\数据结构作业\背包问题\linkedstack.h(5) : see declaration of 'linkedstack'
e:\c\数据结构作业\背包问题\linkedstack.cpp(54) : error C2511: 'last' : overloaded member function 'int (void)' not found in 'linkedstack'
e:\c\数据结构作业\背包问题\linkedstack.h(5) : see declaration of 'linkedstack'
main.cpp
e:\c\数据结构作业\背包问题\linkedstack.h(16) : error C2143: syntax error : missing ';' before '*'
e:\c\数据结构作业\背包问题\linkedstack.h(16) : error C2501: 'Node' : missing storage-class or type specifiers
e:\c\数据结构作业\背包问题\linkedstack.h(16) : error C2501: 'top' : missing storage-class or type specifiers
e:\c\数据结构作业\背包问题\main.cpp(20) : error C2664: 'loading' : cannot convert parameter 1 from 'int *' to 'int &'
A reference that is not to 'const' cannot be bound to a non-lvalue
e:\c\数据结构作业\背包问题\main.cpp(23) : warning C4508: 'main' : function should return a value; 'void' return type assumed
Error executing cl.exe.
<h3>Results</h3>
背包问题.exe - 11 error(s), 1 warning(s)
</pre>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -