Jump to content
xisto Community
Omkar™

Turbo C++ Ide Incompatible with Windows XP?

Recommended Posts

I've been looking back into ol' days lately, and doing some (primitive) coding in C++, using some of those famous Borland Library Functions. So, I hooked up that blue editor (they call it the IDE ;) ) And it wasn't a nice ride in Windows XP environment...

 

Whenever I run that DOS-Based Turbo C++ IDE (tc.exe), my processor usage jumps to a 100% constant, and the IDE runs real slow (Nice way to prove my typin' speed is kewl! :P ) - I'm currently using:

Windows® XP Professional with Service Pack 2

Intel® Pentium 4, 1.7 GHz Processor

256k L2 cache

256MB RAM

~768MB VM

Earlier, the same IDE used to run great on -

Windows® 98 SE

Intel® Celeron 700 MHz Processor

128k L2 cache

128MB RAM

~512MB VM

Of course, you'd expect DOS-Based programs to run real good on Windows® 98 rather than NT, but there's got to be a solution! I've tried almost everything - experimented with MS-DOS Program settings, advanced memory settings, compatibility mode for Windows® 95/98 SE, run in windowed/full-screen mode, everything I thought would remotely be responsible. And this is hard luck! ;) I mean all nifty programs run smoothly on my Windows® XP configuration, and I'm messed up with a damn age-old Turbo C++ IDE! So much for those Borland Library Functions, but I'd still like to have a solution!

 

Please help me out if you can, since I only got until February end to wind-up my work in there! ;)

Share this post


Link to post
Share on other sites

The DOS based programs run well in Windows 98, because Windows 98 is loaded on top of MS DOS i.e. you have 2 OS MS DOS and Windows 98.

 

But in Windows XP Microsoft has stopped using DOS as a separate OS and added it as an Terminal Application.

So it has to load in the memory and run from there and all the operations are done through the Windows XP core.

 

Whereas in Windows 98/95, the moment you stat the command prompt, you exit Windows and load DOS. There the DOS has the direct access to the Hardware and other resources.And the Windows is loaded again when you exit DOS.

 

In Windows XP and later versions DOS is available as Command Prompt application, it runs inside the Windows XP Kernel.

 

In Turbo C++ all the functions called by the compiler interact directly with the processor, in Windows XP this has to be pass through several Kernel process so it consumes a lot of CPU cycles and hence the heavy CPU usage.

 

This is not a Bug in Windows XP or incompatibility issue.

 

You can try alternative free window based C++ IDE's like

 

* Bloodshed Dev C++ - http://www.bloodshed.net/devcpp.html

* lcc-win32 - http://www.cs.virginia.edu/~lcc-win32/

* Borland C++ - http://forums.xisto.com/no_longer_exists/

* Eclipse CDT - http://www.eclipse.org/cdt/

* GNU C++/C Compiler - http://gcc.gnu.org/

* Microsoft Visual C++ Express - https://visualstudiogallery.msdn.microsoft.com/site/search?f%5B0%5D.Type=Affiliation&f%5B0%5D.Value=DevLabs&f%5B0%5D.Text=Microsoft%20DevLabs

Edited by livingston (see edit history)

Share this post


Link to post
Share on other sites

I can speak from experience that Borland's (free) compiler is really good. I think it's version 5.5 that's free. they go up to 6.5 last i used. But it is a really nice interface to code in. I started on the DOS turbo C compiler as well, and then moved up to borland's 5.5 on windows.

Share this post


Link to post
Share on other sites

Thanks, livingston - that was really helpful. Now I know why this happens, but I need a solution! coming to the bottom-line, we can always blame Microsoft for it ;) ! In the meanwhile, I'm glad to use the Bloodshed Dev-C++ IDE which works really good as an editor, but the Mingw compiler doesn't support most of the Borland Library Functions! So, I'm doing a juggling between Dev-C++ Editing, and Turbo C++ Compilation! ;)

 

Another reason for cursing Microsoft would be - now that I already have Windows® XP Professional with Service Pack 2 installed on my first partition, I can't dual-boo ton Windows 98 SE anymore! In either case, is there any way I can get the Borland Turbo C++ IDE to work good?

Share this post


Link to post
Share on other sites

There is no solution for this problem with Turbo C++ IDE in Windows XP. You can get the latest version Turbo C++ 2006, for this link http://forums.xisto.com/no_longer_exists/ . It comes in Two packages one contains the prerequiesties (228MB) and the other contains the Program Files (398MB). I think that this is a trial version.

 

Regarding you second problem view the Microsoft KB Article titled How to create a multiple-boot system in Windows XP

 

or the following article http://www.antionline.com/showthread.php?253383.html

 

Share this post


Link to post
Share on other sites

You can run it through DosBox, and it works fine though some people experienced problems, I didn't encounter any, I just can't remember which version of TC I was running.Cheers,MC

Share this post


Link to post
Share on other sites

fonts & printing problem in turbo C IDE

Turbo C++ Ide

 

When I first got my dot matrix printer, it was all new and the print from turbo see IDE's editor was dark and readable.. Now that ive used up my printer a bit.. When I hit print from turbo see IDE editor, the print is just too light, elsewhere print from windows is all fine.

 

I wish I knew what font turbo see used in the editor. Can anybody tell me that? so I could set in the notepad and print it out from there.

 

Also I when I give print command from turbo see (from within dosbox) the screen is all distorted and of course the print command is not executed. Any ideas?

 

-sindhu

Share this post


Link to post
Share on other sites

I had this problem before, all you have to do is lower the priority of the process "ntvdm" in the task administrator (sorry I don't know the name in english, I'm using a spanish windows) and that's all, it works for me all time...-reply by Z-WolF

Share this post


Link to post
Share on other sites

hey,Does any1 know which C++ IDE is best for a 64-bit Windows Vista Ultimate? I have a beautiful Alienware M17x and tried searching around but couldn't find a decent C++ IDE. I also tried Bloodshed's Dev-C++ IDE...Didn't work though. Please e-mail me a reply rather than posting here.Thanks,Manjeet-reply by Manjeet007

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.