News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Running my program

Started by jstunna, October 21, 2009, 09:53:42 PM

Previous topic - Next topic

jstunna

I am running codeblocks on Windows Vista. When I create a new project and pull up the .cpp and run it the Hello World message shows up along with the processing information. My problem is I am writing a program that requires the user to input a number. When I build the program no errors are reported. When I run the program it will not let me enter a number. All i can do is press a key and the program shuts down. Any help would be highly appreciated.

MortenMacFly

Quote from: jstunna on October 21, 2009, 09:53:42 PM
I am running codeblocks on Windows Vista. When I create a new project and pull up the .cpp and run it the Hello World message shows up along with the processing information. My problem is I am writing a program that requires the user to input a number. When I build the program no errors are reported. When I run the program it will not let me enter a number. All i can do is press a key and the program shuts down. Any help would be highly appreciated.
Unrelated to Code::Blocks. Try a C/C++ forum including more information (platform, OS, UI widget set, compiler, versions...) -> for example by posting some source code.

Otherwise it's like:
"I am developing an app that shows a button but it does not. What can I do?"
--> Would you be able to help me with that amount of information?!

Topic locked.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]