News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

crash: debug.dll(for new operator)

Started by mmkider, December 24, 2008, 01:23:18 PM

Previous topic - Next topic

mmkider


#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.