C Projects

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • supthere@gmail.com

    C Projects

    Hi folks!

    I'm new to the C language. I can write it (basic things) and use the
    compiler and stuff, but to get more experience in the C language I
    need something to work on or with.

    Does someone has an idea for inspiration or such?

    Thank you
  • Richard Heathfield

    #2
    Re: C Projects

    supthere@gmail. com said:
    Hi folks!
    >
    I'm new to the C language. I can write it (basic things) and use the
    compiler and stuff, but to get more experience in the C language I
    need something to work on or with.
    >
    Does someone has an idea for inspiration or such?
    "The C Programming Language", 2nd edition, by Kernighan and Ritchie - lots
    of exercises.

    --
    Richard Heathfield <http://www.cpax.org.uk >
    Email: -http://www. +rjh@
    Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
    "Usenet is a strange place" - dmr 29 July 1999

    Comment

    • Chris Dollin

      #3
      Re: C Projects

      supthere@gmail. com wrote:
      I'm new to the C language. I can write it (basic things) and use the
      compiler and stuff, but to get more experience in the C language I
      need something to work on or with.
      >
      Does someone has an idea for inspiration or such?
      How about a little recogniser and executer for arithmetic expressions?

      It has the advantage that you can start with something very basic,
      such as single-letter names and values and only a couple of operators,
      and grow it as you explore.

      And it's easy to write tests for.

      --
      'It changed the future .. and it changed us.' /Babylon 5/

      Hewlett-Packard Limited registered office: Cain Road, Bracknell,
      registered no: 690597 England Berks RG12 1HN

      Comment

      • supthere@gmail.com

        #4
        Re: C Projects

        On 24 sep, 14:57, Richard Heathfield <r...@see.sig.i nvalidwrote:
        supth...@gmail. com said:
        >
        Hi folks!
        >
        I'm new to the C language. I can write it (basic things) and use the
        compiler and stuff, but to get more experience in the C language I
        need something to work on or with.
        >
        Does someone has an idea for inspiration or such?
        >
        "The C Programming Language", 2nd edition, by Kernighan and Ritchie - lots
        of exercises.
        >
        --
        Richard Heathfield <http://www.cpax.org.uk >
        Email: -http://www. +rjh@
        Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
        "Usenet is a strange place" - dmr 29 July 1999
        Well thank you, but I have that book. But, I mean in real life, real
        projects.

        Comment

        • Richard Heathfield

          #5
          Re: C Projects

          supthere@gmail. com said:
          On 24 sep, 14:57, Richard Heathfield <r...@see.sig.i nvalidwrote:
          >supth...@gmail .com said:
          >>
          Hi folks!
          >>
          I'm new to the C language. I can write it (basic things) and use the
          compiler and stuff, but to get more experience in the C language I
          need something to work on or with.
          >>
          Does someone has an idea for inspiration or such?
          >>
          >"The C Programming Language", 2nd edition, by Kernighan and Ritchie -
          >lots of exercises.
          >>
          Well thank you, but I have that book.
          Great!
          But, I mean in real life, real projects.
          Obviously it's up to you. But if you set yourself the goal of doing every
          exercise in the book, you will find it far more challenging than you might
          have guessed, and it will teach you lots about C that you didn't realise
          you didn't know.

          --
          Richard Heathfield <http://www.cpax.org.uk >
          Email: -http://www. +rjh@
          Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
          "Usenet is a strange place" - dmr 29 July 1999

          Comment

          • Malcolm McLean

            #6
            Re: C Projects

            <supthere@gmail .comwrote in message
            >
            Well thank you, but I have that book. But, I mean in real life, real
            projects.
            >
            It's harder than you might think to comply. The problem is that if a program
            is relatively simple, and generally useful, there's probably a version in
            existence somewhere. There are lots of useful and fairly simple programs - I
            write them all the time - but they are too tied to protein folding to be of
            much use.

            The exception is games. You can always think of a new game.

            How about an "ininite dungeon". I'm currently working on Perlin noise
            generators. Using Perlin noise plus a regular pseud-random-number generator,
            you ought to be able to come up with a dungeon for a character to move about
            in that doesn't repeat (except in the cycle of the RNG) and looks
            reasonable. For instance you can have wooden floors generated by Perlin
            textures. The walls and room layout you'll have to think about. Monsters and
            treasure can be placed just at random Cartesian co-ordiantes. Keep the fight
            fairly simple - just three of four types of monsters and you crash into
            them. Look up "rogue" to get the idea.

            --
            Free games and programming goodies.


            Comment

            • Sjouke Burry

              #7
              Re: C Projects

              supthere@gmail. com wrote:
              On 24 sep, 14:57, Richard Heathfield <r...@see.sig.i nvalidwrote:
              >supth...@gmail .com said:
              >>
              >>Hi folks!
              >>I'm new to the C language. I can write it (basic things) and use the
              >>compiler and stuff, but to get more experience in the C language I
              >>need something to work on or with.
              >>Does someone has an idea for inspiration or such?
              >"The C Programming Language", 2nd edition, by Kernighan and Ritchie - lots
              >of exercises.
              >>
              >--
              >Richard Heathfield <http://www.cpax.org.uk >
              >Email: -http://www. +rjh@
              >Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
              >"Usenet is a strange place" - dmr 29 July 1999
              >
              Well thank you, but I have that book. But, I mean in real life, real
              projects.
              Take something you enjoy.
              I once liked fractals.
              Anytime Scientific American had something about it in
              the recreation articles, I dropped the periodical halfway
              trough, to attack my computer and translate it into a program.
              Any subject, football, basketball, collecting things, any at
              all can be used to think up some useful program, with the
              added value of being about something you enjoy.
              Those examples in books have been produced by somebody who did
              his level best to find totally useless, uninteresting program examples.

              Comment

              • supthere@gmail.com

                #8
                Re: C Projects

                Thank you all, I am thinking about a game or something like that, or
                an own OS (just a small one, for fun) thank you all!

                Also, I think comp.lang.c is a good way to start C and learn from the
                experts.

                Comment

                Working...