自分もBCC使ってて>>549の症状になったから
main()
{
printf("This is a test");
int i;
cin >>i;
return 0;
}

として黒い画面を出してるんだけど、もっとスマートな方法ありませんかね?