Whats my options?

This is a discussion on Whats my options? within the A Brief History of Cprogramming.com forums, part of the Community Boards category; Hi I been slowly trying to teach myself C++ through, Deitel, and I have got to the third chapter, and ...

  1. #1
    Registered User
    Join Date
    Feb 2003
    Posts
    62

    Whats my options?

    Hi I been slowly trying to teach myself C++ through, Deitel, and I have got to the third chapter, and as anyone who has looked at the book would know there is a lot of Exercises especially in the first 4 chapters. However I just spent an hour looking at that annoying towers of hanoi, or whatever its called problem, and I got no idea even slightly. I thought pointers looked bad.
    If I canít do this, should I learn another language that donít have Recursion in it?
    Come back pointers all is forgiven LOL

    Chris

    Just wanted to see peoples opinions on programmers who cant do Recursion.

  2. #2
    The Defective GRAPE Lurker's Avatar
    Join Date
    Feb 2003
    Posts
    949
    Go through things slowly and make as many test programs as you can. You'll get it soon enough.
    Do not make direct eye contact with me.

  3. #3
    Registered User axon's Avatar
    Join Date
    Feb 2003
    Posts
    2,572
    recursion is a basic method of computer science - you will run into it, one way or another, in any computer language. Many beginning programers have problems with recursion, so don't get discouraged. Work out simple problems on paper to see how basic recursion works. My professor from a couple of semesters ago had a pretty good recursion explanation with real life examples...if I'll find I'll post.

    some entropy with that sink? entropysink.com

    there are two cardinal sins from which all others spring: Impatience and Laziness. - franz kafka

  4. #4
    l'Anziano DavidP's Avatar
    Join Date
    Aug 2001
    Location
    Plano, Texas, United States
    Posts
    2,738
    >However I just spent an hour looking at that annoying towers of hanoi

    I love towers of hanoi!

    >If I canít do this, should I learn another language that donít have Recursion in it?

    Recursion is an essential element to both mathematics and computer science. You cannot just avoid it. Keep on working at it. You will find very few computer languages that do not allow recursion.
    My Website

    "Circular logic is good because it is."

  5. #5
    Registered User
    Join Date
    Feb 2003
    Posts
    62
    OK thanks guys, I will keep trying

  6. #6
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    Recursion is a funny beast. You start off not understanding it, then you will use it too much, and finally you learn how to rewrite your code without it

  7. #7
    Banned
    Join Date
    Jan 2003
    Posts
    1,708
    Yeah I kind of agree with exactly what thantos said, but don't worry bub just like anything else it'll become like second nature once you get used to using it.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Doxygen failing
    By Elysia in forum A Brief History of Cprogramming.com
    Replies: 19
    Last Post: 04-16-2008, 01:24 PM
  2. What's the best way to handle many program options?
    By stickmangumby in forum C Programming
    Replies: 19
    Last Post: 06-06-2007, 04:06 PM
  3. Options Dialog
    By Morgul in forum Game Programming
    Replies: 3
    Last Post: 11-15-2005, 11:15 PM
  4. simulate Grep command in Unix using C
    By laxmi in forum C Programming
    Replies: 6
    Last Post: 05-10-2002, 04:10 PM
  5. Opening files - Giving options?
    By wwwGazUKcom in forum C++ Programming
    Replies: 3
    Last Post: 09-18-2001, 07:06 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21