From g++ to Visual C++.
- From: "Doesnt Stop" <DoesntStop mail com>
- To: gtkmm-list gnome org
- Subject: From g++ to Visual C++.
- Date: Wed, 23 Jan 2013 07:37:06 -0500
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?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]