Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 07-25-2005, 10:59 PM   #1 (permalink)
 
Newb Techie

Join Date: Jun 2005

Posts: 21

WildRose

Default Problem with running c++

Hello everyone!

I have a lil' problem with running c++, as in it eats up all my CPU. Why? My OS is Windows XP, btw.

I used it on windows 98 and it worked just fine, so what can be wrong?

Thanks in advance!
WildRose is offline  
Old 07-26-2005, 09:33 AM   #2 (permalink)
 
Ultra Techie

Join Date: Sep 2003

Location: Bamberg, Germany

Posts: 549

Iron_Cross

Send a message via ICQ to Iron_Cross Send a message via MSN to Iron_Cross Send a message via Yahoo to Iron_Cross
Default

Post the code you're using...there is absolutly no way for us to tell without seeing the code
For all we know you could be in an endless loop or something
__________________

See today\'s Penny-Arcade!(May contain foul lanuage)
Pain is weakness leaving the body.

PM Me for my MSN
Iron_Cross is offline  
Old 07-27-2005, 03:57 PM   #3 (permalink)
 
Newb Techie

Join Date: Jun 2005

Posts: 21

WildRose

Default

Ahem Iron_Cross the problem isn't with a running a code in c++, the problem is with running c++ . When i launch it, it "eats up" all of my CPU. And, god, i hate endless loops.
WildRose is offline  
Old 07-28-2005, 09:24 AM   #4 (permalink)
 
Ultra Techie

Join Date: Sep 2003

Location: Bamberg, Germany

Posts: 549

Iron_Cross

Send a message via ICQ to Iron_Cross Send a message via MSN to Iron_Cross Send a message via Yahoo to Iron_Cross
Default

You never know, it could be the code you're running, considering the fact that the code is using CPU resources. Also considering that when you "run C++" you're just running the code.
But if you're absolutly 100% without-a-doubt certain that it's not the code, what IDE are you using...if any?
Iron_Cross is offline  
Old 07-28-2005, 10:10 AM   #5 (permalink)
Chankama's Avatar
 
Monster Techie

Join Date: Jan 2005

Location: Canada

Posts: 1,522

Chankama will become famous soon enough

Default

I think what WildRose means is that when he starts the environment, before running any compiled code, it eats up the resources. Yup please do post what IDE u are using.
Chankama is offline  
Old 07-28-2005, 10:53 AM   #6 (permalink)
 
Ultra Techie

Join Date: Sep 2003

Location: Bamberg, Germany

Posts: 549

Iron_Cross

Send a message via ICQ to Iron_Cross Send a message via MSN to Iron_Cross Send a message via Yahoo to Iron_Cross
Default

You also might want to post your system specs
Iron_Cross is offline  
Old 07-28-2005, 11:27 AM   #7 (permalink)
 
Newb Techie

Join Date: Jun 2005

Posts: 21

WildRose

Default

Thank you guys, i should've thought about that. Well, here are my system specs
A dumb old computer, btw, but it's good for now, it's a Dell, 1 ghz intel pentium processor, 256 mb ram, 20 gb hdd. There ya go.

Someone told me that there's some special setting you have to change in xp, but i'm clueless.

Suggestions?
WildRose is offline  
Old 07-28-2005, 01:24 PM   #8 (permalink)
 
Ultra Techie

Join Date: Oct 2003

Posts: 544

fitzjj

Default

We dont quite understand what you mean by running c++. C++ is a programming language and so you cannot run it as such, you can run applications written in C++ but it seems this is not what you mean. Or do you mean, as Chankama interpreted it, your IDE (program for writin C++ code) is eating all of your CPU, if so what IDE are you using?
fitzjj is offline  
Old 07-28-2005, 01:48 PM   #9 (permalink)
 
Newb Techie

Join Date: Jun 2005

Posts: 21

WildRose

Default

My bad! As Chankama said, the problem is with the IDE, as you call it which is Borland C++ for DOS (anything else to it i dunno about?).

P.S. I'm a she, not a he Chankama
WildRose is offline  
Old 07-28-2005, 04:05 PM   #10 (permalink)
 
Ultra Techie

Join Date: Sep 2003

Location: Bamberg, Germany

Posts: 549

Iron_Cross

Send a message via ICQ to Iron_Cross Send a message via MSN to Iron_Cross Send a message via Yahoo to Iron_Cross
Default

I would hope you're a she WildRose is not really a masculine name, haha.

So how do you know it's eating up your memory, how much is it taking up? Because if you told us your specs right, then your computer should have no problem at all running that IDE....
Iron_Cross is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On