Thread: Practice

  1. #1
    Registered User
    Join Date
    May 2006


    I don't know if this is a common problem or not. Essentially I've been programming "on and off" for some time. I'm generally familiar with all the syntax and can complete many basic tasks with a reference text somewhere near by. The problem though, is that I can never seem to become as conversant in the language as I would like to be, mainly because I keep taking on things which are too large, and I never finish.

    Like many things I feel like you make a completely separate mental connection while reading about programming as opposed to actually doing it. So I was wondering if there was maybe a reference someone knew about (I couldn't find one in the tutorials) that had a list of practice exercises to complete, say like 10 or 20 in increasing order of difficulty. Kind of like the thing you would get in a college programming class, but you know, without tuition costs or time constraints that would interfere with my day job. Any help would be appreciated! Thanks!

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    For programming against the clock, possibly for some money if you're that good.
    A range of problems from pretty simple to very difficult, with only the satisfaction of you knowing you can do it.
    Find an open source project which interests you, get to know it's code inside out, study the bug reports, try and fix one, submit the change.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    Dec 2007
    North Georgia Mountains
    Try If you can work through this and understand what and why for the solutions, you will have no problem working as a C programmer in anybody's shop.
    I would use some of these during interviews - I was always surprised when developers with 10+ years experience would fall flat on their face.


  4. #4
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    I would use some of these during interviews - I was always surprised when developers with 10+ years experience would fall flat on their face.
    Except that that is a C programming puzzle book, so it would not test things that are C++ specific. Consequently, a person may pass a test based on that book but fall flat on their face on the job.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C++ Practice Projects
    By LordBronz in forum C++ Programming
    Replies: 11
    Last Post: 05-30-2011, 11:06 PM
  2. Need to practice more while learning
    By KidMan in forum C Programming
    Replies: 1
    Last Post: 10-24-2007, 02:48 PM
  3. Need Practice exercises
    By blindman858 in forum C++ Programming
    Replies: 4
    Last Post: 06-18-2005, 01:30 AM
  4. Best practice: string manipulation functions
    By samadhi in forum C Programming
    Replies: 4
    Last Post: 09-23-2004, 05:16 PM
  5. Practice
    By Octorok101 in forum C++ Programming
    Replies: 1
    Last Post: 07-02-2002, 03:14 PM