Dev C++ Compiling But Not Running

hello altogether,
my name is Wolfram Pagels, Berlin, Germany
my status is :retired but enthusiastic c++-fan;

I use Dev-C++ since 3 month ago; in the 70th I programmed in Fortran;
after a long break I enjoy to learn c++11;

e.g.: the day before yesterday I got the following message from Dev-C++:

My second question to you: * h o w to enable (these) options at my installed and running actual mingw compiler as part of Dev-C++ IDE ?

Jan 19, 2020  No, it is not giving me a Win32 option or a Visual C option. I have run C# and Python programs using Visual Studio, but I still haven't run a Visual C program. I've got my work cut out for me to get up to the level of someone who has a Bachelor's in Computer Science. Problem with the complier of Dev C in windows 8. After running following program in dev c 5.7 1 in windows 7 show me same problem though i have done everything that u described. How to enable compiler options in Dev-C? Options at my installed and running actual mingw compiler as part of Dev-C IDE? Thank you in advance for your time, yours sincerely. Edited 6 Years Ago. You can use a C11 compliant compiler with Dev-C, it's just not as easy as point and click out of the box. I agree that a. Running Dev-C blreichenau For programming assignments that include one file (e.g. Prog1.cpp): Start Dev-C. Click the Compile button on the Compile and Run Toolbar. A window will open displaying any syntax errors found. Correct any compilation errors. Save the changes.

  1. Mar 20, 2014  If my app doesn't answer the callbacks it will do that and still work. I usually find that compiling is something quick so I would not expect this UNLESS you are trying this on an non-admin.
  2. Mar 22, 2019  First time when you are going to install devcpp and running your first program may be following error is coming ' Source file is not compiled'. Actually this.

Thank you in advance for your time,

RunningDev c++ compile and run not working

yours sincerely

Edited by mike_2000_17: Removed email address. Fixed formatting.
  • 4 Contributors
  • forum 3 Replies
  • 3,681 Views
  • 23 Hours Discussion Span
  • commentLatest Postby Ancient DragonLatest Post
Compiling

Dev C++ Compiler Not Working

mike_2000_172,669

Dev C++ Compiling But Not Running Lyrics

Well, the answer to your problem (but not to your question) is to change your IDE. Dev-C++ is far too old to support C++11. The MinGW GCC version that ships with Dev-C++ is version 3.4.2, which is really old. Decent support for C++11 starts roughly from 4.6.0, but since it is still experimental, the newer the better. Currently, you can get 4.7.1 version through '>TDM-GCC ports. I recommend switching to '>CodeBlocks, which you can download as an installer that includes TDM-GCC 4.7.1. That should allow you to have decent C++11 support.

As for setting compiler options, you typically have to navigate the 'Build Configuration' or 'Project Properties' or similar panels. Usually, you will find a place to put 'custom compiler options' where you can place the exact command-line compiler option (like -std=c++11), that is, if you can't find a checkbox for the particular option you need.

Dev C++ Compiling But Not Running Video

Okay this is a first for me. My code compiles absolutely fine with no errors what so ever. But when I click 'Run' or 'Compile & Run', the little command window pops up but the output never appears? The command window tries to load the code for about 5 seconds and then it gives up, when usually it takes about 1 second to see my output.
After it tries to load, the command window stays scrolled down all the way at the bottom. Usually the code appears at the very beginning of the command window, so when I tried to scroll up, the side bar immediately pulls itself down.
I have made 9 different programs over the past 5 months and every single one of them runs fine except this one.
What I am doing in my code, is creating a class. This class is using methods to add, subtract, and multiply matrices. Assuming my code is fine, why is Dev C++ doing this?
I'd post my code, but it compiles without a hitch and it's 300+ lines of code. I'm sure nobody wants to read that much into this.
Does anyone know why this happening?
P.S. I don't even get the 'Press any key to continue....' that usually appears after your output in the command prompt window, even after waiting five minutes.