Public Group

Need c++ compiler/editor for windows

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

Recommended Posts

does anybody know of a c++ compiler/editor for windows xp if so please tell me. DEV C++ isnt showing me my results such as hello world! after I compile succesfully.

Share on other sites
if anybody could tell me how to see ur results on visual c++ like results such as Hello World! that would be helpful. Thanks in know its a newb question im just startin out

Share on other sites
Microsoft Visual C++ 2005 Express Edition

To build your program, hit F7. To run your program with debugging, hit F5. To run your program without debugging, hit Ctrl+F5. Otherwise, use the options under the "Build" menu at the top, or use the play/pause buttons (play for run, pause for break) on the toolbar.

If the problem is that you have something like

#include <iostream>int main(){    std::cout << "Hello, world!" << std::endl;}

and the console window (the place where the "Hello, world!" message is sent to) flashes up and disappears before you can see the results, use Ctrl+F5 to run without debugging — the IDE will automatically pause the program once it is complete, so that the console remains open and the results are visible.

Share on other sites
it doesnt say my results such as hello world! it only says that the build succeeded

Share on other sites
That means you successfully built the program, but now you have to run it to see "Hello World."

Like TheUnbeliever said, press either F5 or Ctrl-F5 to run the program.

Svenjamin

Share on other sites
it says no dll name specified

Share on other sites
and i cant go on because of that message

Share on other sites
What IDE are you using when you see that message? If it is Dev-CPP, then that is not the hot key for it. Just look under the run menu or w/e Dev calls it to find the hot key or just click on where it says run somewhere in Dev (I don't use Dev any more [I haven't used it in a year]).

If that is in Visual C++, then you must be missing something or have done something wrong.

In Visual, all you need to do, is go up to the menu bar and click build. Then click Build Solution (it also has a F7 out beside it. This is the hot key for it). It it gives no errors, and it gives you output SIMILAR to this:

------ Build started: Project: Kingdom, Configuration: Debug Win32 ------Compiling...Main.cppLinking...Embedding manifest...Build log was saved at "file://c:\Documents and Settings\Chad\Desktop\Kingdom\Kingdom\Kingdom\Debug\BuildLog.htm"Kingdom - 0 error(s), 0 warning(s)========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

then all you need to do is go up to where it says Debug and then click Start Debugging. It has a little play button to the left side, and the hot key to the right side. After you do that, then it should run just fine. If the console window just opens up and flashes then closes, then the program did run right. It just ran so fast that you did not see it.

I hope this helps.

1. 1
2. 2
3. 3
Rutin
18
4. 4
JoeJ
14
5. 5

• 14
• 9
• 23
• 9
• 32
• Forum Statistics

• Total Topics
632619
• Total Posts
3007496
• Who's Online (See full list)

There are no registered users currently online

×