Thread: Programs for practice?

  1. #1
    Registered User
    Join Date
    Mar 2009

    Question Programs for practice?

    I'm looking for some kind of site/list of programs to write in the purpose of practice. I'm trying to force myself to learn C but I can't seem find anything fun to write. Maybe someone knows a site out there.

    The only idea I've had was to write a text editor but I have no idea how to get started.


  2. #2
    In my head happyclown's Avatar
    Join Date
    Dec 2008
    In my head
    I am still newbie enough to occasionally ask myself: what now?

    Obviously, don't try to write "fun" programs that are too far beyond your current abilities, because you'll only be aquiring knowledge on a superficial level in order to write(cobble together) these programs. At the same time, you'll be neglecting fundamentals.

    What I have done is to try to replicate programs and functions that I use everyday. For example, you probably use a browser or word processor's search function to find a word. So write a little search program, it only takes about 50 lines, and you will be exposed to fundamentals like arrays, pointers, functions, opening and closing files.

    And then the next step is to include a function to replace the text that you have searched for with another word or sentence.

    More programming ideas:
    - calculator
    - count the number of words in a file
    - print the contents of a file to the screen
    - count the number of lines in a file
    - print line numbers to the left of lines in a file(really good for checking to see how many lines of code are in your programs)

    I know that a lack of ideas about what to write can REALLY hamper enthusiam for a newbie. I've gone through that phase myself.

    Don't be afraid to ask any questions in this forum(but try to research the solution first).

    Good luck!
    OS: Linux Mint 13(Maya) LTS 64 bit.

  3. #3
    DESTINY BEN10's Avatar
    Join Date
    Jul 2008
    in front of my computer

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Recommend upgrade path for C programs
    By emanresu in forum C Programming
    Replies: 3
    Last Post: 11-22-2007, 07:32 AM
  2. I never Finish my programs :(
    By epidemic in forum C++ Programming
    Replies: 11
    Last Post: 04-02-2007, 12:35 PM
  3. Problem using java programs within C code
    By lemania in forum Linux Programming
    Replies: 1
    Last Post: 05-08-2005, 02:02 AM
  4. POSIX/DOS programs?
    By nickname_changed in forum C++ Programming
    Replies: 1
    Last Post: 02-28-2003, 05:42 AM
  5. executing c++ programs on the web
    By gulti01 in forum C++ Programming
    Replies: 4
    Last Post: 08-12-2002, 03:12 AM

Tags for this Thread