Question:
Dev c++ compiler will compile but not run?
Marcus Head
2012-11-29 17:16:58 UTC
Ive been using visual studio but found a cool tutorial to follow that uses dev compiler and I downloaded exactly as it showed and I did the simple Hello world program and when i "Compile and run" it seems to compile with no answers but the program window wont pop up. Anything reason you can think of why its doing that?
Three answers:
mike
2012-11-29 17:22:01 UTC
With dev C++ you need a third party compiler. Usually when you download the full package w/ compilers from the dev C++ website it just installs and runs. If you didn't, you'll need to manually install a compiler to get the IDE to compile the code.



Edit --



You'd want the second file on http://www.bloodshed.net/dev/devcpp.html the "Dev-C++ 4 version (includes Mingw compiler and libraries)". MinGW is a third party cross platform compiler.



Also take note when you're coding in some IDEs, you have to pause the console window when it pops up otherwise it will just popup and disapear in an instance. Either by using the std::getch() or system("pause") both are found usually in the IOStream header file.



When you compile, the IDE is suppose to show you the log file on what's happening when it's compiling.(Does the program exit with status code 0x0? Or like what?). It's used for purposes like this.
?
2017-02-26 20:02:46 UTC
on the comparable time as Microsoft will desire you to maintain utilising Vista you would be able to desire to deploy homestead abode windows XP hardship-loose sufficient. a million. Backup any records you desire to maintain and placed onto homestead abode windows XP 2. Setup your BIOS (you will get spectacular of get right of entry to to it precise as quickly as you skill on your pc) so as that it boots from the CDchronic in the previous it boots from the difficultchronic 3. Insert the homestead abode windows XP CD and reboot your pc 4. be constructive to initiate the homestead abode windows XP deploy application! otherwise the pc is merely going to boot Vista decrease decrease back. 5. keep on with the instructions and determine you delete the prevailing partitions (ie Vista). 6. land up the installation by using configuring your pc the type you like it to be. in case you desire to place in different working structures spectacular this is the recommended order of installation: a million. homestead abode windows (oldest to present day) (ninety 5 then ninety 8 then 2000 then XP then Vista then Win 7) 2. Linux, GNU/HURD, or BSD (so it could encapsulate homestead abode windows) desire this helps out.
Joseph
2012-12-01 03:37:03 UTC
I recommend switching to the "Qt SDK". Its amazing and not as popular as it should be. And FREE! YAY!



The download page is here:

http://qt-project.org/downloads



The latest stable version for windows (and the one I recommend) is this one:

Qt libraries 4.8.4 for Windows (minGW 4.4, 317 MB)





Good Luck!


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...