>I've been trying to get it to work but it just won't.
That's because you're trying to get a dinosaur to drive a ferarri. Turbo C 2.0 is a DOS compiler, and I don't mean the Windows command prompt, I mean real DOS. It's ancient, and nobody is surprised that it has massive issues when some bobo tries to run it on the latest OS.
>Does anyone know a fix to this?
Downgrade to Windows 98.
>But if someone can suggest an alternative compiler
IIRC, Turbo C made an attempt to conform to the draft C89 standard, so if you limit yourself to C89 features you should be okay with any modern compiler. Of course, I make no guarantees when you move so closely to the old K&R implementations.
Narue
Bad Cop
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401
schools should get their accrediations yanked and teachers fired for teaching such ancient compilers. There are much better free compilers such as Dev-C++. I'll bet MIT doesn't teach astrologers how to compute the distance of a star with a slide ruler and I know for a fact that NASA doesn't use them :)
Ancient Dragon
Retired & Loving It
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
>I know for a fact that NASA doesn't use them
Though it wouldn't be surprising to find a couple in the lockers labeled "Emergency". ;)
Narue
Bad Cop
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401
I'll bet MIT doesn't teach astrologers how to compute the distance of a star with a slide ruler and I know for a fact that NASA doesn't use them
Tis reminds me of the time when my teacher told me a story...
When the Russians and Americans were fighting to become the firstnation to put a man on the moon, both countries were tryingdesperately to overcome the apparent stumbing block of takingnotes in space. Due to zero gravity the humble biro was rendereduseless in outer space. If you have ever tried writing with a penupside-down you will know what I mean.
The USA apparently spent millions of dollars pioneering a new kind ofpen and ink which could be utilised in an anti-gravitationalenvironment.
What did the Russians do? They just sent their astronauts up with apencil.
:o
iamthwee
Posting Expert
5,950 posts since Aug 2005
Reputation Points: 1,543
Solved Threads: 439
A lot of schools have no money for their hand-me-down computers. Turbo2.0 is given away free. Still better than teaching Mbasic.
Ene Uran
Posting Virtuoso
1,723 posts since Aug 2005
Reputation Points: 625
Solved Threads: 213
Tis reminds me of the time when my teacher toldme a story...
When the Russians and Americans were fighting to become the firstnation to put a man on the moon, both countries were tryingdesperately to overcome the apparent stumbing block of takingnotes in space. Due to zero gravity the humble biro was rendereduseless in outer space. If you have ever tried writing with a penupside-down you will know what I mean.
The USA apparently spent millions of dollars pioneering a new kind ofpen and ink which could be utilised in an anti-gravitationalenvironment.
What did the Russians do? They just sent their astronauts up with apencil.
:o
Wow iamthwee, that must have taken some time to type in all those colors. I like colors! Are you a genius or something?
Ene Uran
Posting Virtuoso
1,723 posts since Aug 2005
Reputation Points: 625
Solved Threads: 213