|
|
这是算法与数据结构中的一道题,比如输入(2+5)*5+5-7求它的值
错误如下:
1>------ Build started: Project: operator, Configuration: Debug Win32 ------
1>Compiling...
1>stack.cpp
1>e:\program files\microsoft visual studio 9.0\vc\include\codeanalysis\sourceannotations.h(25) : error C2632: 'short' followed by 'wchar_t' is illegal
1>e:\program files\microsoft visual studio 9.0\vc\include\codeanalysis\sourceannotations.h(25) : warning C4091: 'typedef ' : ignored on left of 'unsigned short' when no variable is declared
1>e:\program files\microsoft visual studio 9.0\vc\include\stdio.h(132) : error C2146: syntax error : missing ';' before identifier 'FILE'
1>e:\program files\microsoft visual studio 9.0\vc\include\stdio.h(132) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\program files\microsoft visual studio 9.0\vc\include\stdio.h(189) : error C2144: syntax error : 'int' should be preceded by ';'
1>e:\program files\microsoft visual studio 9.0\vc\include\stdio.h(189) : error C2470: '_CRcharIMP' : looks like a function definition, but there is no parameter list; skipping apparent body
1>e:\program files\microsoft visual studio 9.0\vc\include\stdio.h(189) : error C3094: 'vc_attributes: ost': anonymous usage not allowed
1> e:\program files\microsoft visual studio 9.0\vc\include\codeanalysis\sourceannotations.h(102) : see declaration of 'vc_attributes::Post'
1> attribute can only be applied to: 'formal parameter', 'return value'
1>e:\program files\microsoft visual studio 9.0\vc\include\stdio.h(189) : fatal error C1075: end of file found before the left brace '{' at 'e:\program files\microsoft visual studio 9.0\vc\include\stdio.h(32)' was matched
1>useoperator.cpp
1>e:\program files\microsoft visual studio 9.0\vc\include\codeanalysis\sourceannotations.h(25) : error C2632: 'short' followed by 'wchar_t' is illegal
1>e:\program files\microsoft visual studio 9.0\vc\include\codeanalysis\sourceannotations.h(25) : warning C4091: 'typedef ' : ignored on left of 'unsigned short' when no variable is declared
1>e:\program files\microsoft visual studio 9.0\vc\include\stdio.h(132) : error C2146: syntax error : missing ';' before identifier 'FILE'
1>e:\program files\microsoft visual studio 9.0\vc\include\stdio.h(132) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>e:\program files\microsoft visual studio 9.0\vc\include\stdio.h(189) : error C2144: syntax error : 'int' should be preceded by ';'
1>e:\program files\microsoft visual studio 9.0\vc\include\stdio.h(189) : error C2470: '_CRcharIMP' : looks like a function definition, but there is no parameter list; skipping apparent body
1>e:\program files\microsoft visual studio 9.0\vc\include\stdio.h(189) : error C3094: 'vc_attributes::Post': anonymous usage not allowed
1> e:\program files\microsoft visual studio 9.0\vc\include\codeanalysis\sourceannotations.h(102) : see declaration of 'vc_attributes::Post'
1> attribute can only be applied to: 'formal parameter', 'return value'
1>e:\program files\microsoft visual studio 9.0\vc\include\stdio.h(189) : fatal error C1075: end of file found before the left brace '{' at 'e:\program files\microsoft visual studio 9.0\vc\include\stdio.h(32)' was matched
1>Generating Code...
1>Build log was saved at "file://f:\operator\operator\operator\Debug\BuildLog.htm"
1>operator - 14 error(s), 2 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== |
|