Author Topic: crash: debug.dll(for new operator)  (Read 3565 times)

Offline mmkider

  • Almost regular
  • **
  • Posts: 150
crash: debug.dll(for new operator)
« on: December 24, 2008, 01:23:18 pm »
Code
#include <iostream>
using namespace std;
int test(void)
{
    return 1;
}

int main()
{
    test();
    char* content = new char[ 20 ];
    content[10]=5;
    cout << "Hello world!" << endl;
    return 0;
}

I watch content  var, then Codeblocks isn't able to respond to any input.
I only forced to close off the codeblocks and restart the codeblocks.
« Last Edit: December 24, 2008, 02:14:19 pm by mmkider »