Learning C++

This is a discussion on Learning C++ within the C++ Programming forums, part of the General Programming Boards category; I have just started learning C++ from a Book. Now i find that when i read the book i understand ...

  1. #1
    Registered User
    Join Date
    Nov 2001
    Posts
    1

    Question Learning C++

    I have just started learning C++ from a Book. Now i find that when i read the book i understand everything ..but the next day i forget 50% of what i read, with the result i have to back track everytime. Also what type of programes do i write for practice??.....
    some times i nearly give up home..but then there is soo much to learn in C++ and its power facinates me and finally motivates me to continue on....
    Please advise me as to how is the best possible way to learn this language properly???BOOKS, Practice???

  2. #2
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    Books

    C++ How to program by Deitel and Deitel.
    A great introductory text book which gives fair coverage of most topics.Weak on STL and exceptions but good on control structures,arrays,classes etc. Full of exercises.Comes with learning edition of visual c 6

    The C++ programming Language by Bjarne Stroustrup.
    This is a hard to read book that goes into good detail about programming portable code. Only standard functions used.Nothing OS specific. Leave this book for a while or you will just give up. Again full of exercises but harder than previous book.

    Effective C++ by Scott Meyers.
    This is a kind of 50 tips to be a better programmer book and is a must have as soon as you start oop programming. No exercises but lots of valuable information and as he has a good sense of humour its a good read too.

    The C++ standard library by Nicolai Josuttis.
    The best book I have read on the STL. Buy this as soon as you start to program with vectors,lists and deques etc. Full of code samples and entertainingly written.

    Programming windows by Charles Petzold.
    Eventually you will want to learn the win32 api. This book is the best place to start with that. All code is in C but thats no problem.

    Programming windows with MFC by Jeff Prosise.
    Sister book to one above. This time programming for windows using microsoft foundation classes. Good book but urge you to learn the api and read petzold before moving onto this one.
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

  3. #3
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,786
    >>Now i find that when i read the book i understand everything ..but the next day i forget 50% of what i read


    The easiest way to learn is to try and implement it. The books come with examples usually, so if there is a principal that you are forgetting, try write a brief program that uses it. It shouldnt usually be too hard as you have the book in your hand. You will often get a better understanding and it can often stick in your mind better.

  4. #4
    Registered User ski6ski's Avatar
    Join Date
    Aug 2001
    Posts
    133
    Einstine had his best thoughts after a nap. If you find that you are forgetting, try taking a nap. I know that you probly quit taking naps before you got into school, so what I recomend is doing it after you get up in the morning. Maybe go to bed early so you can get up early? Just a suggestion...I usualy program after I get home from work.
    C++ Is Powerful
    I use C++
    There fore I am Powerful

  5. #5
    31173 h4x0r gnu-ehacks's Avatar
    Join Date
    Nov 2001
    Posts
    556
    Most books come with excercises to do. I find that after doing an excercise, it's much easier to remember things from a book or a tutorial or anything. BTW, don't learn from friends. My friend thinks he is a superelite programmer, but he sux.
    What will people say if they hear that I'm a Jesus freak?
    What will people do if they find that it's true?
    I don't really care if they label me a Jesus freak, there is no disguising the truth!

    Jesus Freak, D.C. Talk

    -gnu-ehacks

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Machine Learning with Lego Mindstorms
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 14
    Last Post: 01-30-2009, 01:34 PM
  2. Best Approach for Learning
    By UCnLA in forum C Programming
    Replies: 5
    Last Post: 03-21-2008, 02:35 AM
  3. Need Help On a Simple Bank Program
    By oobootsy1 in forum C# Programming
    Replies: 9
    Last Post: 08-08-2005, 10:51 AM
  4. Fun Learning a New Language
    By UnregdRegd in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 09-30-2003, 10:03 PM
  5. Learning Rate Of C++
    By Krak in forum C++ Programming
    Replies: 27
    Last Post: 01-29-2003, 12:53 PM

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