Author Topic: My program won't build  (Read 11730 times)

Offline fuzzymonkey

  • Multiple posting newcomer
  • *
  • Posts: 11
My program won't build
« on: January 30, 2010, 12:35:14 am »
I am a new codeblocks user and have just made my first program. It simply inputs two names and two numbers, then outputs the name and the average of the numbers. I originally created this in my class where everything worked fine (at least in my armature eyes). I then installed codeblocks at home and attempted to recreate the program. when I attempted to build an run my program, nothing happened. I thought I might have miss coded something so I copied the file I created in class to my computer - that worked fine. The new program for some reason will not build. Anyone have any idea why this might happen?


Oh, and in addition to me being a complete armature, I also have no idea what the build function does and why I need to do it. Currently I am just blindly following the teacher.

Thanks.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: My program won't build
« Reply #2 on: January 30, 2010, 12:56:14 am »
You most likely have no compiler installed or your toolchain is not setup correctly.

Tim also gave you the links you need to solve your problem.

We can not teach you what a compiler does, or what building and linking means.

This forum is dedicaated to C::B related problems, not to teach beginners in programming.

Sorry !

Topic locked !