Author Topic: fairly new, please help  (Read 3546 times)

blerg

  • Guest
fairly new, please help
« on: March 18, 2011, 03:23:43 am »
fairly new to C programming, but understand the basics.
tried googling but really didnt know what to look for. what i did find resulted in the problem not being resolved.

in my school program i set up a while loop to ask the user to enter a series of numbers, one at a time, using the same variable. the problem occurs when the variable gets a new value. the program freezes and i get a pop-up saying "program has stopped working. windows is searching for a solution. blah blah blah". i close that window and the program just kicks out to the "Pess any key to continue" message.

programs that don't have a value change run fine. the "Hello World!" runs.

using codeblocks 10.05 for windows 7. says my compiler is GNU GCC Compiler. C programming

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7786
    • My Best Post
Re: fairly new, please help
« Reply #1 on: March 18, 2011, 03:58:02 am »
Turn on Full Compiler Logging; the post your request for programming on a site that does programing support like http://cboard.cprogramming.com/

http://wiki.codeblocks.org/index.php?title=FAQ#Q:_How_do_I_troubleshoot_an_compiler_problem.3F

Tim S.

 
C Programmer working to learn more about C++ and Git.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: fairly new, please help
« Reply #2 on: March 18, 2011, 06:55:41 am »
You did not read the forum rules before posting !
Your question is not related to C::B in anyway and therefore violating our forum rules !

This is not a general programming forum/website !!

C::B is an IDE, not a compiler !

Topic locked !!