Jump to content



Welcome to AstaHost - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!

Toggle shoutbox Shoutbox Open the Shoutbox in a popup

@  yordan : (16 June 2013 - 05:41 PM) You're Welcome, Agyat!
@  agyat : (16 June 2013 - 07:38 AM) Thanks Yordan...
@  velma : (16 June 2013 - 12:06 AM) I Have Asked Opa To Check For A Backup.. He'll Let Me Know Soon :)
@  velma : (16 June 2013 - 12:05 AM) T_T It Seems That Someone Has Deleted That Topic Since I Found The Url Of The Topic But It Gives Me An Error
@  yordan : (15 June 2013 - 10:31 PM) @velma : It's A Tuto On How To Create A Login Program.
@  yordan : (15 June 2013 - 10:31 PM) Happy Birthday To Youuuuuu Agyat!
@  yordan : (15 June 2013 - 10:31 PM) Ba$
@  agyat : (15 June 2013 - 04:41 PM) :(
@  agyat : (15 June 2013 - 04:41 PM) Where The Hall I Were? 15Th Is Almost At End And No-One Wished Me "happy Birthday"!!!
@  velma : (14 June 2013 - 10:39 AM) Which Tutorial Is He Searching For?
@  velma : (14 June 2013 - 10:38 AM) Which Tutorial Is He Searching For?
@  yordan : (14 June 2013 - 07:47 AM) Ok, Have A Look Tomorrow.
@  yordan : (13 June 2013 - 03:19 PM) @velma, Can You Have A Look At Feelay's Problem? Seems That His Tutorial Is Not Searchable Today.
@  Feelay : (13 June 2013 - 08:11 AM) Oh, Haha
@  velma : (12 June 2013 - 05:39 PM) T_T Lately My Levels Of Procrastination..... **sigh**
@  velma : (12 June 2013 - 05:38 PM) I'll Do It Later
@  velma : (12 June 2013 - 05:38 PM) Procrastinators.. People Who Keep Saying "i'll Do This In A Bit"
@  Feelay : (12 June 2013 - 02:05 PM) Deal Punishments To What?
@  velma : (12 June 2013 - 01:27 PM) T_T We Should Deal Punishments To Procrastinators... Especially Me
@  Feelay : (12 June 2013 - 12:06 PM) As Well As Making It More Secure.

Photo
- - - - -

Turbo C++ Ide


8 replies to this topic

#1 Omkar™

Omkar™

    Advanced Member

  • Members
  • 130 posts
  • Location:India

Posted 21 February 2007 - 04:48 PM


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! ;)


#2 livingston

livingston

    Advanced Member

  • Members
  • 149 posts
  • Gender:Male
  • Location:Tuticorin, India
  • myCENTs:0.55

Posted 21 February 2007 - 10:51 PM

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.c...r/freecompiler/
* Eclipse CDT - http://www.eclipse.org/cdt/
* GNU C++/C Compiler - http://gcc.gnu.org/
* Microsoft Visual C++ Express - http://lab.msdn.micr...xpress/visualc/

Edited by livingston, 21 February 2007 - 10:59 PM.


#3 DAC1138

DAC1138

    Member [ Level 1 ]

  • Members
  • 45 posts

Posted 21 February 2007 - 11:33 PM

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.

#4 Omkar™

Omkar™

    Advanced Member

  • Members
  • 130 posts
  • Location:India

Posted 22 February 2007 - 12:59 PM


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?


#5 livingston

livingston

    Advanced Member

  • Members
  • 149 posts
  • Gender:Male
  • Location:Tuticorin, India
  • myCENTs:0.55

Posted 22 February 2007 - 07:46 PM

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...ey.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.co...p/t-253383.html



#6 mastercomputers

mastercomputers

    Making IT Happen

  • Members
  • 770 posts
  • Gender:Male
  • Location:Auckland, New Zealand
  • Interests:There's not a lot I'm not interested in, knowledge is power, without it, I'd be sitting in the dark.
  • myCENTs:42.89

Posted 23 February 2007 - 02:44 PM

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

#7 Guest_FeedBacker_*

Guest_FeedBacker_*
  • Guests

Posted 17 January 2008 - 02:01 AM

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

#8 Guest_FeedBacker_*

Guest_FeedBacker_*
  • Guests

Posted 06 May 2008 - 06:03 AM

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

#9 Guest_(G)Manjeet007_*

Guest_(G)Manjeet007_*
  • Guests

Posted 10 August 2009 - 06:28 PM

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



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users