输出cout<< ENDL

时间:2015-03-14 14:06:50

标签: c++ visual-studio-2013 output

所以,我有一个程序,其中包含静态库。

之后我写这个:

cout << 1 << endl;

我有很多这样的错误:

    1>RL.lib(Connection.obj) : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/OPT:LBR' specification
1>Ggsg.lib(StrategyInfo.obj) : error LNK2001: unresolved external symbol _m_mem_nchar_undup
1>Ggsg.lib(StrategyLegInfo.obj) : error LNK2001: unresolved external symbol _m_mem_nchar_undup
1>Ggsg.lib(ProductRmsInfo.obj) : error LNK2019: unresolved external symbol _m_mem_nchar_undup referenced in function "int __cdecl RApiImp::dupProductRmsInfo(class RApi::ProductRmsInfo *,class RApi::ProductRmsInfo *,int *)" (?dupProductRmsInfo@RApiImp@@YAHPAVProductRmsInfo@RApi@@0PAH@Z)
1>Ggsg.lib(OrderReportElseRqCtx.obj) : error LNK2001: unresolved external symbol _m_mem_nchar_undup
1>Ggsg.lib(PnlInfo.obj) : error LNK2001: unresolved external symbol _m_mem_nchar_undup
1>Ggsg.lib(SubSymCtx.obj) : error LNK2001: unresolved external symbol _m_mem_nchar_undup
1>Ggsg.lib(RebuildBookRqCtx.obj) : error LNK2001: unresolved external symbol _m_mem_nchar_undup
1>Ggsg.lib(SubRqCtx.obj) : error LNK2001: unresolved external symbol _m_mem_nchar_undup
1>Ggsg.lib(SubWatchCtx.obj) : error LNK2001: unresolved external symbol _m_mem_nchar_undup
1>Ggsg.lib(TradeRouteInfo.obj) : error LNK2001: unresolved external symbol _m_mem_nchar_undup
1>Ggsg.lib(PreSubmitOrderRqCtx.obj) : error LNK2001: unresolved external symbol _m_mem_nchar_undup
1>Ggsg.lib(RothFillsRqCb.obj) : error LNK2001: unresolved external symbol _m_mem_nchar_undup

当我写这篇文章时:

cout << 1;

运作良好。怎么回事?

0 个答案:

没有答案