--------------------Configuration: CuteMoniter - Win32 Debug--------------------
Compiling...
MainMoniter.cpp
g:\program files\microsoft visual studio\vc98\include\xlocnum(481) : error C2065: 'sprintf_instead_use_StringCbPrintfA_or_StringCchPrintfA' : undeclared identifier
g:\program files\microsoft visual studio\vc98\include\xlocnum(479) : while compiling class-template member function 'class std::ostreambuf_iterator<char,struct std::char_traits<char> > __thiscall std::num_put<char,class std::ostreambuf_itera
tor<char,struct std::char_traits<char> > >::do_put(class std::ostreambuf_iterator<char,struct std::char_traits<char> >,class std::ios_base &,char,long) const'
g:\program files\microsoft visual studio\vc98\include\xlocnum(481) : error C2143: syntax error : missing ')' before ';'
g:\program files\microsoft visual studio\vc98\include\xlocnum(479) : while compiling class-template member function 'class std::ostreambuf_iterator<char,struct std::char_traits<char> > __thiscall std::num_put<char,class std::ostreambuf_itera
tor<char,struct std::char_traits<char> > >::do_put(class std::ostreambuf_iterator<char,struct std::char_traits<char> >,class std::ios_base &,char,long) const'
g:\program files\microsoft visual studio\vc98\include\xlocnum(481) : error C2143: syntax error : missing ')' before ';'
g:\program files\microsoft visual studio\vc98\include\xlocnum(479) : while compiling class-template member function 'class std::ostreambuf_iterator<char,struct std::char_traits<char> > __thiscall std::num_put<char,class std::ostreambuf_itera
tor<char,struct std::char_traits<char> > >::do_put(class std::ostreambuf_iterator<char,struct std::char_traits<char> >,class std::ios_base &,char,long) const'
g:\program files\microsoft visual studio\vc98\include\xlocnum(481) : error C2059: syntax error : ')'
g:\program files\microsoft visual studio\vc98\include\xlocnum(479) : while compiling class-template member function 'class std::ostreambuf_iterator<char,struct std::char_traits<char> > __thiscall std::num_put<char,class std::ostreambuf_itera
tor<char,struct std::char_traits<char> > >::do_put(class std::ostreambuf_iterator<char,struct std::char_traits<char> >,class std::ios_base &,char,long) const'
g:\program files\microsoft visual studio\vc98\include\xlocnum(481) : error C2059: syntax error : ')'
g:\program files\microsoft visual studio\vc98\include\xlocnum(479) : while compiling class-template member function 'class std::ostreambuf_iterator<char,struct std::char_traits<char> > __thiscall std::num_put<char,class std::ostreambuf_itera
tor<char,struct std::char_traits<char> > >::do_put(class std::ostreambuf_iterator<char,struct std::char_traits<char> >,class std::ios_base &,char,long) const'
ServiceCfg.cpp
g:\program files\microsoft visual studio\vc98\include\new(35) : error C2059: syntax error : 'string'
g:\program files\microsoft visual studio\vc98\include\new(35) : error C2091: function returns function
g:\program files\microsoft visual studio\vc98\include\new(35) : error C2809: 'operator new' has no formal parameters
g:\program files\microsoft visual studio\vc98\include\new(36) : error C2059: syntax error : 'string'
g:\program files\microsoft visual studio\vc98\include\new(37) : error C2091: function returns function
g:\program files\microsoft visual studio\vc98\include\new(37) : error C2556: 'void *(__cdecl *__cdecl operator new(void))(unsigned int,const struct std::nothrow_t &)' : overloaded function differs only by return type from 'void *(__cdecl *__cdecl op
erator new(void))(unsigned int)'
g:\program files\microsoft visual studio\vc98\include\new(35) : see declaration of 'new'
ServiceExam.cpp
Generating Code...
Error executing cl.exe.
Creating browse info file...CuteMoniter.exe - 11 error(s), 0 warning(s)
Compiling...
MainMoniter.cpp
g:\program files\microsoft visual studio\vc98\include\xlocnum(481) : error C2065: 'sprintf_instead_use_StringCbPrintfA_or_StringCchPrintfA' : undeclared identifier
g:\program files\microsoft visual studio\vc98\include\xlocnum(479) : while compiling class-template member function 'class std::ostreambuf_iterator<char,struct std::char_traits<char> > __thiscall std::num_put<char,class std::ostreambuf_itera
tor<char,struct std::char_traits<char> > >::do_put(class std::ostreambuf_iterator<char,struct std::char_traits<char> >,class std::ios_base &,char,long) const'
g:\program files\microsoft visual studio\vc98\include\xlocnum(481) : error C2143: syntax error : missing ')' before ';'
g:\program files\microsoft visual studio\vc98\include\xlocnum(479) : while compiling class-template member function 'class std::ostreambuf_iterator<char,struct std::char_traits<char> > __thiscall std::num_put<char,class std::ostreambuf_itera
tor<char,struct std::char_traits<char> > >::do_put(class std::ostreambuf_iterator<char,struct std::char_traits<char> >,class std::ios_base &,char,long) const'
g:\program files\microsoft visual studio\vc98\include\xlocnum(481) : error C2143: syntax error : missing ')' before ';'
g:\program files\microsoft visual studio\vc98\include\xlocnum(479) : while compiling class-template member function 'class std::ostreambuf_iterator<char,struct std::char_traits<char> > __thiscall std::num_put<char,class std::ostreambuf_itera
tor<char,struct std::char_traits<char> > >::do_put(class std::ostreambuf_iterator<char,struct std::char_traits<char> >,class std::ios_base &,char,long) const'
g:\program files\microsoft visual studio\vc98\include\xlocnum(481) : error C2059: syntax error : ')'
g:\program files\microsoft visual studio\vc98\include\xlocnum(479) : while compiling class-template member function 'class std::ostreambuf_iterator<char,struct std::char_traits<char> > __thiscall std::num_put<char,class std::ostreambuf_itera
tor<char,struct std::char_traits<char> > >::do_put(class std::ostreambuf_iterator<char,struct std::char_traits<char> >,class std::ios_base &,char,long) const'
g:\program files\microsoft visual studio\vc98\include\xlocnum(481) : error C2059: syntax error : ')'
g:\program files\microsoft visual studio\vc98\include\xlocnum(479) : while compiling class-template member function 'class std::ostreambuf_iterator<char,struct std::char_traits<char> > __thiscall std::num_put<char,class std::ostreambuf_itera
tor<char,struct std::char_traits<char> > >::do_put(class std::ostreambuf_iterator<char,struct std::char_traits<char> >,class std::ios_base &,char,long) const'
ServiceCfg.cpp
g:\program files\microsoft visual studio\vc98\include\new(35) : error C2059: syntax error : 'string'
g:\program files\microsoft visual studio\vc98\include\new(35) : error C2091: function returns function
g:\program files\microsoft visual studio\vc98\include\new(35) : error C2809: 'operator new' has no formal parameters
g:\program files\microsoft visual studio\vc98\include\new(36) : error C2059: syntax error : 'string'
g:\program files\microsoft visual studio\vc98\include\new(37) : error C2091: function returns function
g:\program files\microsoft visual studio\vc98\include\new(37) : error C2556: 'void *(__cdecl *__cdecl operator new(void))(unsigned int,const struct std::nothrow_t &)' : overloaded function differs only by return type from 'void *(__cdecl *__cdecl op
erator new(void))(unsigned int)'
g:\program files\microsoft visual studio\vc98\include\new(35) : see declaration of 'new'
ServiceExam.cpp
Generating Code...
Error executing cl.exe.
Creating browse info file...CuteMoniter.exe - 11 error(s), 0 warning(s)
解决方案 »
- 关于CMFCToolBar
- VC++
- 不知什么问题,在DEBUG里就出错,!
- CHtmlView类调用 Navigate2(_T("163.com"), 0, NULL);的问题
- Get(szName); 为什么编译不通过.
- 程序要执行一段耗时操作,怎么才能先显示个提示框,等操作完后提示框自动关闭?
- 哪位能解释一下CObject定义处为什么没有类似AFX_EXT_CLASS这样的东西吗?
- Win32 Application 哪个地方控制最小化,最大化,关闭的显示?
- 编译时出错问题?
- 为什么我的上下文帮助不见了?(在线等待)
- 求救!为什么我的主对话框无法隐藏窗体?
- 求助,Vc6.0中百思不得其解的问题???
#include <string>
#include <list>
我没有引用STL等类库啊
我不至于犯这么低级的错误吧^_^
但是我这样用std::string,可以吧
而不要std::string,除非你用了几个名字空间。