C++ Exercises

This is a discussion on C++ Exercises within the C++ Programming forums, part of the General Programming Boards category; Does anyone of you know where I can get C++ exercises to work on. Just the basics - and perhaps ...

  1. #1
    Registered User
    Join Date
    Dec 2006
    Posts
    11

    C++ Exercises

    Does anyone of you know where I can get C++ exercises to work on. Just the basics - and perhaps the more advanced ones for future use. I'm learning just from ebooks and websites that don't give out assignments that much. Is there a book on it or maybe a website?

  2. #2
    Registered User
    Join Date
    Nov 2006
    Posts
    519

  3. #3
    Registered User
    Join Date
    Dec 2006
    Location
    Washington
    Posts
    18
    Quote Originally Posted by pheres
    ...yeah, but it is fairly lame! Take for instance:

    Question #20
    What is the equivalent of Pascal's Real?

    a) unsigned int
    b) char
    c) float

    ...how is this question C++? One must know Pascal in order to answer the question? Of course, if we assume that Pascal invented the term "real number," then perhaps the answer is even more obvious. But this is yet another example of STUPID questions on tests that do not belong.

    :davis:

  4. #4
    MFC killed my cat! manutd's Avatar
    Join Date
    Sep 2006
    Location
    Boston, Massachusetts
    Posts
    870
    Try looking at Stroustrup's The C++ Programming Language. Every chapter has little test programs.
    Silence is better than unmeaning words.
    - Pythagoras
    My blog

  5. #5
    Registered User zouyu1983's Avatar
    Join Date
    Nov 2006
    Location
    Fuzhou University, Fujian, China
    Posts
    35
    the best way to learn language is to program.
    i think it will be very helpful to do some acm excrcises.Although it focus on the algorithms,you will improve your skill of the language when you overcome the difficulty in the exercises.

    acm.fzu.edu.cn
    acm.pku.edu.cn
    Hello, guys, i come from china, so i am not good at english. If you find the sentence i wrote full of mistakes, please tell me.
    I confirm that my english and programming skills will be improved with your help in this forum. thanks^_^

  6. #6
    Its hard... But im here swgh's Avatar
    Join Date
    Apr 2005
    Location
    England
    Posts
    1,475
    Lol if you want some really challenging ones then grab one of Detiels books. They are quite hard as they are aimed at level 2 or above students in computer science. If all else fails, go with zouyu1983's advise. In programming it is easier to give yourself a good test. Make a simple text console game, try adding all the things you know to data, learn some new stuff then go back to the game and add that to it
    I'm just trying to be a better person - My Name Is Earl

  7. #7
    Registered User
    Join Date
    Dec 2006
    Posts
    11
    >>acm.fzu.edu.cn
    >>acm.pku.edu.cn

    wow, these are great! thanks!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C beginner exercises?
    By Sharke in forum C Programming
    Replies: 1
    Last Post: 02-20-2009, 11:00 PM
  2. Dietel C How to program exercises
    By droseman in forum C Programming
    Replies: 4
    Last Post: 10-02-2008, 09:55 AM
  3. seeking for exercises
    By smoking81 in forum Linux Programming
    Replies: 7
    Last Post: 09-14-2008, 06:46 PM
  4. Exercises
    By blankstare77 in forum C++ Programming
    Replies: 2
    Last Post: 08-31-2005, 05:46 PM
  5. practice exercises???
    By matheo917 in forum Windows Programming
    Replies: 2
    Last Post: 06-19-2003, 02:14 PM

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