Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: mmkider on December 24, 2008, 01:23:18 pm

Title: crash: debug.dll(for new operator)
Post by: mmkider 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.