Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Code blocks IDE  (Read 5152 times)

0 Members and 1 Guest are viewing this topic.

Ajax Hurts

    Topic Starter


    Newbie

    • Experience: Beginner
    • OS: Windows 10
    Code blocks IDE
    « on: February 26, 2018, 07:48:18 PM »
     :'( :'( :'( :'(

    This will ake me look like a retard but id rather start somewhere than give up and throw my laptop across the room.

    I'm using a nice simple IDE - code blocks for writing c programs.

    The prblem is not the language at this warm up stage when i'm writing simple programs to build calculators and stuff but the software is proving a bit annoying and fiddly for me but probably nobody else.  Enough of feeling sorry for myself.

    Does anybody know what i'm doing wrong.  When I try to add a new program like calc.c , save it, buid and then run, code blocks overwrites the hello world name to calc.c but runs the hello world program instead of the new program that I tried to add.  Any ideas anyone?

    nil

    • Global Moderator


    • Intermediate
    • Thanked: 15
      • Experience: Experienced
      • OS: Linux variant
      Re: Code blocks IDE
      « Reply #1 on: February 27, 2018, 06:44:34 PM »
      Did you build your project again (gear icon) before running it (play icon)? If you just run it, the executable will not be re-built. Make sure to click the gear again to build the executable with your updated source code.
      Do not communicate by sharing memory; instead, share memory by communicating.

      --Effective Go

      Geek-9pm


        Mastermind
      • Geek After Dark
      • Thanked: 1026
        • Gekk9pm bnlog
      • Certifications: List
      • Computer: Specs
      • Experience: Expert
      • OS: Windows 10
      Re: Code blocks IDE
      « Reply #2 on: February 27, 2018, 06:58:17 PM »
      Ajax Hurts,
      Hello, welcome to CH.
      Are you new to computer programming?
      Do you have any formal training?
      Please proved some info about what you are using.
      Are you using a C compiler?  Not a good idea for novice.

      IMO, and others, a good place to start might be an interpreter.
      Interpreters have a more friendly  IDE.
      A good place to stat might be Python.
      You might like to read this:
      https://lifehacker.com/how-i-taught-myself-to-code-in-eight-weeks-511615189
      Quote
      To a lot of non-developers, learning to code seems like an impossibly daunting task. However, thanks to a number of great resources that have recently been put online for free— teaching yourself to code has never been easier. I started learning to code earlier this year and can say from experience that learning enough to build your own prototype is not as hard as it seems. In fact, if you want to have a functioning prototype within two months without taking a day off work, it’s completely doable.
      Hope that is of some help.  :)