|
|
ifstream lvlfile;
in the class's private section and then do lvlfile.open("testlevel.lvl");
the compiler gives me an Error: no instance of overloaded function "getline" matches the argument list" |
|
|
|
|
|
|
#include "SDL.h"
blocklist# spritecount,16# dirt_tr_00,0,0,32,32# dirt_tt_00,32,0,32,32# dirt_tl_00,64,0,32,32# dirt_ll_00,0,32,32,32# dirt_cc_00,32,32,32,32# dirt_rr_00,64,32,32,32# dirt_bl_00,0,64,32,32# dirt_bb_00,32,64,32,32# dirt_br_00,64,64,32,32# dirt_narrow_vt_00,96,0,32,32# dirt_narrow_vc_00,96,32,32,32# dirt_narrow_vb_00,96,64,32,32# dirt_narrow_mc_00,96,96,32,32# dirt_narrow_hl_00,0,96,32,32# dirt_narrow_hc_00,32,96,32,32# dirt_narrow_hr_00,64,96,32,32# |
|
|
Unhandled exception at 0x774415ee in Project SIGOL.exe: 0xC0000005: Access violation reading location 0xccccccc0. |
1>MSVCRTD.lib(cinitexe.obj) : warning LNK4098: defaultlib 'msvcrt.lib' conflicts with use of other libs; use /NODEFAULTLIB:library 1>main.obj : error LNK2019: unresolved external symbol "public: __thiscall map::~map(void)" (??1map@@QAE@XZ) referenced in function _SDL_main 1>D:\Dropbox\Project Sigol\Source Code\Project SIGOL\Debug\Project SIGOL.exe : fatal error LNK1120: 1 unresolved externals |
~map() { if(sprites != NULL) delete [] sprites;}
ifstream
is?unresolved external symbol "public: __thiscall map::~map(void)" |
warning LNK4098: defaultlib 'msvcrt.lib' conflicts with use of other libs |
1>main.obj : error LNK2019: unresolved external symbol __imp___CrtDbgReportW referenced in function "public: char const & __thiscall std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> >::operator*(void)const " (??D?$_String_const_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBEABDXZ) 1>mapreader.obj : error LNK2001: unresolved external symbol __imp___CrtDbgReportW |