SED isn't all that bad. I use it all the time and have had very few crashes.

Regarding your problemo, did you write that yourself, copying from the tutorial (I know that's where it came from, I can smell it), or did you just do a copy and paste? That missing semicolon could be a lot of your problem.


Code:
void main()
{
    cout << "I am MrCode,";
    cout << "hear me roar!";
    system("PAUSE");
}