0 Members and 2 Guests are viewing this topic.
#include <iostream>using namespace std;int main(){ int a = 5; int b = 6; a = a + 5; int result = a + b; cout << "The result is " << result; return 0;}
4 [main] ? 2488 handle_exceptions: Exception: STATUS_ACCESS_VIOLATIONException: STATUS_ACCESS_VIOLATION at eip=77AA47E5eax=00000000 ebx=00000000 ecx=00000000 edx=7EFDD000 esi=00000000 edi=00400000ebp=0028EEA4 esp=0028EE70 program=, pid 0, thread maincs=0023 ds=002B es=002B fs=0053 gs=002B ss=002BStack trace:Frame Function Args0028EEA4 77AA47E5 (00400000, 00000000, 00000000, 0028EEE8)0028EEB8 77AA2C54 (00400000, 00000001, 0028EFC0, 6104F4A6)0028EEE8 6109A582 (00400000, FFFFFFFE, 0028EEE4, 77AA317F)0028EFA8 61004A78 (0028EFC0, FFFFFFFF, 0000EEEE, 0028F8B8)0028FF58 6100594F (00000000, 00000000, 00000000, 00000000)End of stack traceProcess returned -1073741819 (0xC0000005) execution time : 10.676 sPress any key to continue.
Checking for existence: C:\Users\Owner\Documents\C++Proj\C++ Experiments\bin\Release\C++ Experiments.exeExecuting: "C:\Program Files (x86)\CodeBlocks/cb_console_runner.exe" "C:\Users\Owner\Documents\C++Proj\C++ Experiments\bin\Release\C++ Experiments.exe" (in C:\Users\Owner\Documents\C++Proj\C++ Experiments\.)Process terminated with status -1073741819 (0 minutes, 52 seconds)