User forums > Using Code::Blocks

crash: debug.dll(for new operator)

(1/1)

mmkider:

--- 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;
}

--- End code ---

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.

Navigation

[0] Message Index

Go to full version