Home Forums C Programming C++ abrupt termination Reply To: C++ abrupt termination


What operating system are you using?
I worked on Win 98, 2000 and XP. turbo C/C++ compiler has no problems while using on win98. But if you write code which try to directly access any I/O port like COM port, then it causes problems. Because win 2000 and XP has some restrictions on accessing these resources.

So if this is causing the problem for you…then I would advise you to use either win98 or change your program in a way that can safely access I/O devices.

Or you could explain any situation when your program crashed, was that TC.exe file itself or you were trying to compile and run any program on TC?