I installed Windows XP SP3 on my desktop so that I can run Turbo C 3.0.
However, I keep getting this strange error:
![]() Wasted too much time thinking my setup file was corrupt.
SOLVED: Using DOS BOX, Everything works. Strange but it works.
(Other Reasons for using DOSBOX: Screenshots possible when not allowed in XP)
ALL DONE!
Allowing Graphics Libraries. Just Look at the images. DOS BOX SHORTCUTS
So, moved on to a viable alternative:
DEV C++
I've used this once before.
It is a fully featured graphical IDE using the MinGW compiler system.
MinGW (Minimalist GNU* for Windows)
uses GCC (the GNU g++ compiler collection), which is essentially the
same compiler system that is in Cygwin (the unix environment program for Windows) and most versions of Linux. Now, there's still something more we have to do:
Unfortunately, graphics.h is a Borland specific library and cannot be used with Dev-C++.
Fortunately, Michael Main has modified a BGI emulation library for Windows applications
to be used under MinGW (and therefore Dev-C++) which he has aptly named WinBGIm.
Therefore, a few extra steps need to be followed to use graphics in Dev C++:
![]() EXAMPLE PROGRAMS:
And just as you see <conio.h>, <graphics.h> should be used too.
|