View Full Version: whats wrong here

C++ Learning Community > C++ Help > whats wrong here


Title: whats wrong here
Description: problem with dev c++


ih8censorship - June 28, 2003 09:16 PM (GMT)
ok dev c++ isnt working for me anymore i tryed to compile and run a couple programs that i knew worked but they dident. then i tryed previous code that i knew to be working and that dident work. then i re installed dev c++ and then it still dident work. its not "parsing" like it did before and i think that is the problem anyone have any ideas on fixing it? the only thing i can think of is it is a registry key somewhere that got screwed up and i probly should have went to bloodshed instead of here to ask but i figured theres a lot of devc++ users here so maybey someone would know.

StarReaver2 - June 28, 2003 09:17 PM (GMT)
What version of Dev C++ are you using? I use 4, because 5 never seems to work for me....maybe that's the problem?

ih8censorship - June 28, 2003 09:22 PM (GMT)
im using 4.9.8.0 yeah i think its a beta.. maybey thats the prob.. but it worked before fine

Dragon - June 29, 2003 03:51 AM (GMT)
They are all beta versions. Try rebuilding your project. I think it's Execute > Rebuild All, but I'm not sure. If that doesn't work, try creating a new project and adding the files to it.

dr voodoo - June 29, 2003 07:44 AM (GMT)
Try this:
  • Close Dev-C++
  • Shutdown your computer
  • Unplug it
  • Wait a minute (This way we are sure no data can survive in memory)
  • Restart your computer
  • Open Dev-C++ but clicking on the exe. NOT BY OPENING A PROJECT
  • Make a new empty project and enter something like:
CODE
#include <iostream>
using namespace std;
int main()
{
cout<<"Hello"<<endl;
system("PAUSE");
}



ih8censorship - June 29, 2003 02:46 PM (GMT)
well i think i got it i just reinstalled it a bunch of times and it eventually worked again... i duno very strange.

Shadow of the Moon - June 29, 2003 08:06 PM (GMT)
It does stuff like that to me all the time.
Sometimes it just grays all the compile/run/build buttons and commands for no apparant reason. <_<

dr voodoo - June 29, 2003 08:28 PM (GMT)
QUOTE
Sometimes it just grays all the compile/run/build buttons and commands for no apparant reason.

Perhaps I can explain this. It grays the buttons when your program is running. If you make some kind of error which makes your window/consol not appear. You think the program is not running but here you can be wrong. Under XP you can check it by
  • Hitting CTRL+ALT+DEL
  • Now go to Processes (It wont be shown under applications since it has no window)
  • Probably you will find your program in that list
  • Hit End Processe

And of course if you are compiling a dll the run button is disabled.

Hope that helps




* Hosted for free by InvisionFree