|
|
|
|
![]() ![]() |
Feb 21 2007, 04:48 PM
Post
#1
|
|
|
Advanced Member Group: Members Posts: 130 Joined: 22-May 06 From: India Member No.: 13,593 |
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 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!
Please help me out if you can, since I only got until February end to wind-up my work in there! |
|
|
|
Feb 21 2007, 10:51 PM
Post
#2
|
|
|
Advanced Member Group: Members Posts: 149 Joined: 14-February 07 From: Tuticorin, India Member No.: 20,415 |
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://www.borland.com/bcppbuilder/freecompiler/ * Eclipse CDT - http://www.eclipse.org/cdt/ * GNU C++/C Compiler - http://gcc.gnu.org/ * Microsoft Visual C++ Express - http://lab.msdn.microsoft.com/express/visualc/ This post has been edited by livingston: Feb 21 2007, 10:59 PM |
|
|
|
Feb 21 2007, 11:33 PM
Post
#3
|
|
|
Member [ Level 1 ] Group: Members Posts: 45 Joined: 6-January 07 Member No.: 19,178 |
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.
|
|
|
|
Feb 22 2007, 12:59 PM
Post
#4
|
|
|
Advanced Member Group: Members Posts: 130 Joined: 22-May 06 From: India Member No.: 13,593 |
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 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? |
|
|
|
Feb 22 2007, 07:46 PM
Post
#5
|
|
|
Advanced Member Group: Members Posts: 149 Joined: 14-February 07 From: Tuticorin, India Member No.: 20,415 |
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://trial.borland.com/survey.aspx?sid=626 . 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://antionline.com/archive/index.php/t-253383.html |
|
|
|
Feb 23 2007, 02:44 PM
Post
#6
|
|
|
BUG.SWAT.PATROL Group: Members Posts: 626 Joined: 1-September 04 From: Auckland, New Zealand Member No.: 27 |
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 |
|
|
|
Jan 17 2008, 02:01 AM
Post
#7
|
|
|
Newbie [ Level 1 ] Group: Members Posts: 0 Joined: 1-November 07 Member No.: 25,869 |
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 |
|
|
|
May 6 2008, 06:03 AM
Post
#8
|
|
|
Newbie [ Level 1 ] Group: Members Posts: 0 Joined: 1-November 07 Member No.: 25,869 |
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 |
|
|
|
![]() ![]() |
Similar Topics
| Topics | Topics | |
|---|---|---|
|
|
|
|
Lo-Fi Version | Time is now: 8th September 2008 - 06:53 AM |