Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
I am having an issue trying to run my program. Once I run, the black screen
"cout" stuff just flashes and then goes away. I can hardly see what I was
I have the following code I physically typed in:
#include <iostream.h> //yes I know its old the .h but the program doesn't run even when i take it off.
cout << "Hello.";
I usually use Visual Studio 6 (at school) but I can't find the "Build" button
here. I am just learning so don't know the phrase of equivalency that Dev
might be using. I have tried Compile + Run, and "Compile & Run" but neither
work. I can do it with VS6 so not sure what' up.
Thanks in advance for any help!
Add this just before the return:
Thanks jimp03! Is there a way to not have to do that, like with Visual Studio
6? (I just build, I think.)
Also now that I have got that taken care of, does anyone know how to find my
errors WITHIN the source code? I try double-clicking the errors within
"compile log" but it doesn't highlight source code (as far as I know) like in
VS6. So its hard to know where exactly to change...
Hi nvm about the errors, I guess they are just in "Compiler." I was working
within a project and I guess it was linking to some bad code and not rendering
(or whatever) properly. I made a new source file outside of the project and
that fixed it.
Diana Lauren Anderson
It's annoying sometimes to have something not work just because of a little
mistake on the code. Happens to me so many times (and I'm talking about basic
Add these 2 lines before return statement:
std:cin >> response;
I think system("pause"); does the same thing.
Sorry, system("pause"); gives you "Press any key to continue..."
Hi to all members and to the administrators of this forum, am really glad to be one of the member of this forum,and i need someone to help on how to use this fantastic software dev-c++.,i lean how to create a programm by myself and i belive together with your help in this forum,i will be able to create myown programm. Thanks to everyone of and have a nice time.
I would like to help but the compiler is not to hard to use. Let me know what you need to know.
From: Edward Rommy email@example.com
To: [dev-cpp:discussion] firstname.lastname@example.org
Sent: Wednesday, November 14, 2012 6:55 PM
Subject: [dev-cpp:discussion] How do I compile+BUILD+Run? Program flashes.
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/dev-cpp/discussion/48211/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/prefs/