hai
i m the new member of this forum
i started c programming using turbo c
now it gives a error like that
NTVDM error
please help me
to solve this problem
hai
i m the new member of this forum
i started c programming using turbo c
now it gives a error like that
NTVDM error
please help me
to solve this problem
Use another compiler rather than Turbo C.
How many GB of memory do you have, because TC limits you to 640K
How many cores in your processor, because TC only knows about 1
How many etc etc etc do you have, because TC will use a hell of a lot less of each of them.
Oh, and there's bugs in your code as well, so perhaps post your code.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
Welcome Shajib!
The doctors are now ready to see the patient: you need to post your code (please use the code tags around the code).
Salem hates Turbo C, but I still use it from time to time, and like it. It is not the most modern compiler/IDE, but it's quick with help, and does everything a beginner needs.
Your code has a bug in it, and is probably over-writing memory outside it's allocated memory area.
We'll have to see it before we can say what the problem is.
Yes, NTVDM is "NT Virtual Dos Module", which is what handles a DOS-box running in real-mode (16-bit) in Windows. If you (attempt to) access memory you are not supposed to access, or do other bad things (e.g. access IO devices, etc), it will usually give some NTVDM error.
Without your code, it's impossible to say what's wrong.
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
i cant start tc
before i start it show the error
Your "tc" is probably bad then - perhaps re-installing somewhere else would fix the problem.
Alternatively, get any of the other free compilers, such as Code::Blocks, Dev-C++, Microsoft Visual Studio Express. All of which are modern, good compilers, and they run fine on Windows.
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.