摘要:
错误原因:c运行时库与mfc静态库的冲突引起错误如下:1>nafxcw.lib(afxmem.obj) : error LNK2005: "void * __cdecl operator new[](unsigned int)" (??_U@YAPAXI@Z) 已经在 libcpmt.lib(newaop.obj) 中定义1>C:\Users\Administrator\documents\visual studio 2010\Projects\UrlTitleLib\Release\UrlTitleLib.exe : fatal error LNK1169: 阅读全文
摘要:
int main(){ string title="This is a test string"; string::iterator pos; pos=remove(title.begin(),title.end(),' '); title.erase(pos,title.end()); cout<<title<<endl;} 阅读全文