I have recently migrated from g++ to Visual C++. I have this code that compiled without any errors or warnings under g++, but now in VC++ using VS10 as my IDE, I get an error that reads Unhandled exception at 0x70f333bc (msvcp100.dll) in myProgram.exe: 0xC0000005: Access violation reading location 0x00000004.
std::string s; int i = 100; ... std::stringstream num; <<== 0xC0000005: Access violation reading location 0x00000004. num.flush(); num << i; s.clear(); s = num.str(); The program compiles, links and executes, but once it exits, it throws this run-time error. How can I solve this runtime error? and what is the cause of this run-time error?
_______________________________________________ gtkmm-list mailing list gtkmm-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtkmm-list