Jump to content
  • Advertisement
Sign in to follow this  
dustydoodoo

Where does Devcpp send the exe when you compile it?

This topic is 5378 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement
OH, it didnt compile (i dont think) it says on the compiler tab
" Fatal C:\Dev-Cpp\Fatal 'all-before' does not exist - don't know how to make it "

What does that mean?

Share this post


Link to post
Share on other sites
im just testing it out and this is my code'
#include <iostream.h>

int main(){
cout <<" Hello People!";
return 0;
}

theres nothing wrong with it, and if your gonna tell me to use
using namespace std dont because i dont want to, unless that will fix it.

Share this post


Link to post
Share on other sites
There is a bug in DevC++ that will sometimes put your stuff in the template library, or under your root folder. Try checking those.

Share this post


Link to post
Share on other sites
ok, you need to either add "using namespace std" or use the std::cout qualifier. also you need a system("pause") at the end with Dev C++ so that you can see the output. other than that your code works fine.

and btw: you seem to have a habit of doing newb things that are frowned upon. one of these is creating multiple accounts, Dustman. you seemed to have cleaned things up, but you should really work on problem solving yourself and post as a last resort. it helps the message boards not get so cluttered and teaches you how to do research, which is one of the most important skills as a programmer.

Share this post


Link to post
Share on other sites
is it possible that this fragment:

"C:\Dev-Cpp\Fatal "

is the first part of your project path? If so, try putting the whole project in a directory without spaces in the name. Dev-C++ seems to choke on filenames with spaces.

Share this post


Link to post
Share on other sites
You should possibly consider using the newer method of including libraries...eg.
--> #include <iostream>
and when calling cout, you guessed it it's part of namespace std, without
--> using namespace std;
you could instead call cout like
--> std:cout

i've had a few problems compiling with dev-c++, starting again works really really well for fixing problems :-)

Good luck with your other problem,
Add.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!