[問題]在VC2005中include <fstrem>後,出現了error LNK2019..

看板C_and_CPP (C/C++)作者 (poiujhwelkfhno)時間16年前 (2009/08/05 17:23), 編輯推噓1(102)
留言3則, 3人參與, 最新討論串1/1
請問大大,有人知道為何嗎.. error LNK2019: 無法解析的外部符號 "void * __cdecl operator new[](unsigned int,struct std::_DebugHeapTag_t const &,char *,int)" (??_U@YAPAXIABU_DebugHeapTag_t@std@@PADH@Z) 在函式 "public: char * __cdecl std::_DebugHeapAllocator<char>::allocate(unsigned int,void const *)" (?allocate@?$_DebugHeapAllocator@D@std@@QAAPADIPBX@Z) 中被參考 CCX1func.obj -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 114.137.149.204

08/05 17:23, , 1F
using namespace std;??
08/05 17:23, 1F

08/05 17:24, , 2F
fstrem? fstream?
08/05 17:24, 2F

08/05 21:13, , 3F
阿,打太快了,是fstream沒錯
08/05 21:13, 3F
文章代碼(AID): #1AUKz-hV (C_and_CPP)
文章代碼(AID): #1AUKz-hV (C_and_CPP)