- #1
nst.john
- 163
- 1
I am using Windows XP Version 2002 and I am using freecommandLinetools as a compiler for the c++ language. Every time I write a program it always says it is an NTVDM CPU illegal instruction and it doesn't work, what's wrong with my programs? Here is an example:
Is something wrong with my program? Or do I need a new compiler for my computer, or what ever? What's the problem? Thanks in advance!
C:
#include <iostream>
using namespace std;
int main()
{
cout<<"HEY, you, I'm alive! Oh, and Hello World!\n";
cin.get();
return 1;
}
Last edited by a moderator: