64 Bit operating systems like Windows Xp64, Windows Vista64, and Window
7 will no longer run 16 bit applications and this includes Turbo C
2.01/Turbo C++ 3.0/3.1 or the programs they produce.
Turbo C 2.0 was first released in 1989, Turbo C++ 3.1 in 1991 making
these programs nearly two decades old. They are just too old to run on
Upgrade To Modern Compiler
Note that Turbo C/C++ is very very very very old and produces 16 bit
programs which no long run on many modern computers. So the best advice
is to upgrade to a new compiler. There are many free compilers out there that you can use.
- Microsoft Express 2008 -- Great compiler and comes with a nice IDE (Visual Studio)
- MinGW -- Command line compiler but there are many IDEs that use it such as Code::Blocks, Eclipse, Dev-C++
- Borland C++ 5.5
-- Will compile Turbo C++ programs (including graphics.h) but produces
32bit code (slightly better than Turbo C) Only includes command line
-- Its still old but at least it produces 32bit programs (better than
Turbo C). You might stumble across D++ which is a very powerful
language derivative of C++.
- OpenWacom -- Again, nearly as old as Turbo C, but it produces more modern 32bit applications! (this project is still active too).
If you are just working with C there is:
-- and excellent modern C compiler and IDE. Pelles also has the new TR1
libraries available so you can use regex and other new features. As
well as support for many older libraries.
- LCC-Win32 -- Used as the basis for many of the research compilers.
- Tiny C -- is said to produce very fast programs.
All of the above are Free and all excellent replacements for Turbo C which is so old it will not even run on your computer.