Code::Blocks Forums

User forums => Help => Topic started by: anu on November 05, 2009, 01:12:25 am

Title: not able to execute my 1st C++ program
Post by: anu on November 05, 2009, 01:12:25 am
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 a window appears and says that your program is not built yet ,then when i say built n run still the same window comes .When I run the program it will not let me enter a number. All i can do is press a any key and the program shuts down. Any help would be highly appreciated
Title: Re: not able to execute my 1st C++ program
Post by: stahta01 on November 05, 2009, 02:55:01 am
Basic questions Everybody should put in a Code::Blocks question

1. What Operating System? Example "Windows XP"
2. What version/SVN of Code::Blocks? Example 8.02 or SVN 6000
3. What Compiler? Example "MinGW GCC"
4. What is the compiler version? Example "4.4.1"

Compiler/Link issues; user should post the "Build Log" with "Full Compiler Logging"
http://wiki.codeblocks.org/index.php?title=FAQ#Q:_How_do_I_troubleshoot_an_compiler_problem.3F

General questions on How to program DO NOT belong on this site.
Note: Not enough info in your question to tell if it is or is NOT General programming question.

Tim S.