Author Topic: not able to execute my 1st C++ program  (Read 2850 times)

anu

  • Guest
not able to execute my 1st C++ program
« 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

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7589
    • My Best Post
Re: not able to execute my 1st C++ program
« Reply #1 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.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org