Thread: anyone interested in giving me C++ assignments?

  1. #1
    Registered User
    Join Date
    Feb 2008
    Posts
    3

    anyone interested in giving me C++ assignments?

    uh yeah....i'm worried that since i'm not using c++ outside of the tutorials that i might not be fully grasping concepts.....so if anyone wants to act as a teacher im here to be teached.....
    Last edited by Slash91; 02-05-2008 at 03:03 PM.

  2. #2
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    >i might not be fully grasping concepts
    If you're fully grasping concepts then you qualify as a prodigy.

    >so if anyone wants to act as a teacher im here to be teached.....
    The best way to learn is to hang around this forum and answer questions. Not only will you have plenty of problems to work with, you'll also be surrounded by many qualified programmers who can explain your mistakes to you and help you gain a better understanding of the language and the craft.

    >just make sure u know enough to help the learning process not hurt it......
    That's an interesting thing to say when asking for help.
    My best code is written with the delete key.

  3. #3
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Here is one task that probably hasn't got the answer on the 'net:
    Write an application that reads, stores and lists living things (plants, bacteria, etc) by their scientific name and their "common name". All species of living things can be identified scientifically by a "binominal" system - a genus and species name. For example, Homo sapiens = human, Canis lupus = Wolf, Canis canis = Domestic dog, etc.

    You should have a class to represent a genus, and the genus class should hold the species name.

    You should also allow reclassification, which is where a species is moved from one genus to another.

    You should use a simple text input and output. But make sure that the user input and the rest of the functionality is WELL separated, so that later on, you could make it graphical user interface if you want to.

    I have lots of more stuff you could do on it if this is too simple.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  4. #4
    Super unModrator
    Join Date
    Dec 2007
    Posts
    321
    Make a program which can read human mind and email the source code to me. Be quick or I will punish you.

  5. #5
    Registered User IdioticCreation's Avatar
    Join Date
    Nov 2006
    Location
    Lurking about
    Posts
    229
    http://projecteuler.net/ Those are fun. A pretty step difficulty curve though.

  6. #6
    Algorithm Dissector iMalc's Avatar
    Join Date
    Dec 2005
    Location
    New Zealand
    Posts
    6,318
    Quote Originally Posted by Slash91 View Post
    so if anyone wants to act as a teacher im here to be teached.....
    It's "taught"!

    I think the most rewarding thing is to write a ray-tracer. You can get nice looking images by barely writing a couple of pages of code, so it's about the most rewarding task per line of code I know of.
    My homepage
    Advice: Take only as directed - If symptoms persist, please see your debugger

    Linus Torvalds: "But it clearly is the only right way. The fact that everybody else does it some other way only means that they are wrong"

  7. #7
    Ethernal Noob
    Join Date
    Nov 2001
    Posts
    1,901
    Most likely you're going to get a ton of people's homework.

  8. #8
    Officially An Architect brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,396
    Quote Originally Posted by Slash91 View Post
    uh yeah....i'm worried that since i'm not using c++ outside of the tutorials that i might not be fully grasping concepts.....so if anyone wants to act as a teacher im here to be teached.....
    Any problems people make up for you are going to be more "tutorials." If you want to move beyond tutorials you need to start working on real code. You might start by downloading a simple open source program and trying to make a simple modification to it. Imagine a more complicated change you'd like to make, then come ask specific questions about how to accomplish it.

  9. #9
    Banned
    Join Date
    Nov 2007
    Posts
    678
    Slash91! Here are your todays assignments:
    1) Write a Su-Do-Ku solver!
    2) Write a Su-Do-Ku generator!
    3) Write an N-Queens Problem solver!
    4) Write a 15 Squares Puzzle solver!

  10. #10
    Weak. dra's Avatar
    Join Date
    Apr 2005
    Posts
    166
    I don't know what level of C++ you're at, but if you're just starting out like I am, it might be worth it to pick up Accelerated C++ by Koenig and Moo. There are exercises at the end of each chapter that really test you on the material that is covered in the chapter. However, the only downside is that possible solutions aren't provided.

  11. #11
    Super unModrator
    Join Date
    Dec 2007
    Posts
    321
    Quote Originally Posted by IdioticCreation View Post
    http://projecteuler.net/ Those are fun. A pretty step difficulty curve though.
    Thanks for that. Exactly what I was looking for.

  12. #12
    Registered User
    Join Date
    Feb 2008
    Posts
    3
    um how do u delete ur own thread........i don't want people to keep answering when i've changed my mind......

  13. #13
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Quote Originally Posted by Slash91 View Post
    um how do u delete ur own thread........i don't want people to keep answering when i've changed my mind......
    You can't delete a thread.

    I guess none of the tasks where appealing to you [or did you want some other type of answer?].

    If you really want to, you can "report this thread to the moderators" - I think it's a little triangle with an exclamation mark. The moderator can, if they feel like, LOCK the thread, so no one else can post in it [or, if it's really in appropriate material, they can remove the thread, but that seems a bit drastic in this case].

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  14. #14
    Registered User
    Join Date
    Feb 2008
    Posts
    3
    i looked at em......and i am gonna try some aswell.......i really liked ur suggestion matsp....cus thats the kind of thing i was looking for...just i dont think i kno enough yet for that.....

    ill just leave the thread up not sure i'll keep lookin at suggestions tho

  15. #15
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,195
    Quote Originally Posted by iMalc View Post
    It's "taught"!

    I think the most rewarding thing is to write a ray-tracer. You can get nice looking images by barely writing a couple of pages of code, so it's about the most rewarding task per line of code I know of.
    Sure beats my current 'assignment'. Build an application that analyzes video feeds looking for a particular type of behavior in humans and sounds an alarm. On top of that, sometimes the behavior is OK by anyone, and the behavior is always Ok by some people.

    Oh and you cant have ANY false alarms.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 2
    Last Post: 05-10-2009, 11:12 PM
  2. Assignments or challenges
    By Dogmasur in forum C Programming
    Replies: 12
    Last Post: 08-20-2008, 02:24 AM
  3. Replies: 3
    Last Post: 04-06-2007, 05:10 PM
  4. Anyone interested?
    By JarJarBinks in forum Projects and Job Recruitment
    Replies: 7
    Last Post: 09-17-2004, 05:59 AM
  5. Who here would be interested...
    By TechWins in forum A Brief History of Cprogramming.com
    Replies: 19
    Last Post: 07-19-2002, 08:10 PM