Thread: what are some good C++ source code examples?

  1. #1
    ima n00b, ok? orion-'s Avatar
    Join Date
    Aug 2005
    Location
    alberta, canada
    Posts
    55

    what are some good C++ source code examples?

    besides planet source code, cprogramming.com, programmers heaven, the msdn library. where can i find C++ source code examples that a beginner (me) can learn from?

  2. #2
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    the standard of code in so called online source repositories is very hit and miss. Sourceforge is one of the best but its more than just a source code repository. You should get Accelerated C++ by Koenig and Moo to learn from.
    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
    ima n00b, ok? orion-'s Avatar
    Join Date
    Aug 2005
    Location
    alberta, canada
    Posts
    55
    i had just bought 'c++ primer plus 5th edition' a few days ago. should have i bought 'accelerated c++' insted??

  4. #4
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    accelerated c++ is the best book to start learning from. is that the stan lippman c++ primer if so thats good but not ideal for beginner like accelerated.
    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

  5. #5
    Deprecated Dae's Avatar
    Join Date
    Oct 2004
    Location
    Canada
    Posts
    1,034
    Quote Originally Posted by Stoned_Coder
    accelerated c++ is the best book to start learning from. is that the stan lippman c++ primer if so thats good but not ideal for beginner like accelerated.
    Yeah I'm reading c++ primer, its starts out on basics, but puts a lot of vocabulary, concepts, the syntax, etc. on the reader all the time. This is great for reference, and for review, but not ideal when you're starting out the language.. and especially not if its your first language. I know the basics but reading this affirms knowledge, looks at it at different angles, and gives me a chance to learn the real lingo of c++ programming which isnt necessary to program (as I didnt know it before reading this book, but could still program, hence overloading newbies). It depends if you can handle such overload, because it is nice getting those terms down, but as most end up learning the lingo eventually anyway.. its more of a priority to learn the actual language in an interesting way (accelerated learning).

    I would still have gotten c++ primer plus and accelerated learning though, and read c++ primer plus after and use it as a reference.
    Warning: Have doubt in anything I post.

    GCC 4.5, Boost 1.40, Code::Blocks 8.02, Ubuntu 9.10 010001000110000101100101

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. return reference to local variable, good code?
    By George2 in forum C++ Programming
    Replies: 3
    Last Post: 12-17-2007, 12:34 PM
  2. Need software to help to understand C source code
    By Kincider in forum C++ Programming
    Replies: 1
    Last Post: 09-28-2006, 09:44 PM
  3. Binary Search Trees Part III
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 10-02-2004, 03:00 PM
  4. Linux source code
    By afreedboy in forum Linux Programming
    Replies: 6
    Last Post: 06-25-2004, 10:12 AM
  5. Interface Question
    By smog890 in forum C Programming
    Replies: 11
    Last Post: 06-03-2002, 05:06 PM