Thread: I want to learn boost, Would anybody suggests a book/web to start

  1. #1
    Registered User
    Join Date
    Apr 2007
    Posts
    284

    I want to learn boost, Would anybody suggests a book/web to start

    I want to learn boost, would somebody suggest a book or websites to start with? Thanks.
    Last edited by meili100; 03-10-2008 at 08:01 PM.

  2. #2
    Officially An Architect brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,396
    Quote Originally Posted by meili100 View Post
    I want to learn boost, would somebody suggest a book or websites to start with? Thanks.
    Congrats -- learning Boost will make you 100 times more productive.

    Honestly, I taught myself Boost by reading the documentation on the Boost web site. How you proceed really depends. Do you know much STL yet?

  3. #3
    pwns nooblars
    Join Date
    Oct 2005
    Location
    Portland, Or
    Posts
    1,094
    I am with what brewbuck hinted at, if you aren't that familar with STL, start there, learn about that and how the objects and algorithms and all that fun stuff interacts, then move on to playing with Boost.

    If you already know the STL pretty decently then moving to Boost shouldn't be hard, what I am doing is just using the different parts of boost as I need them, there is tons of documentation available, it is just a double click away. I am not sure of what books are out there, I have yet to look into that.

  4. #4
    and the hat of sweating
    Join Date
    Aug 2007
    Location
    Toronto, ON
    Posts
    3,545
    I'd love to learn Boost too, but it's so big I can't figure out where to start.
    Maybe if people could say which Boost classes are the most useful to them (the ones they use the most) it would help to give a good starting point.

  5. #5
    coder
    Join Date
    Feb 2008
    Posts
    127
    IMO wikipedia is always a good point to start
    http://en.wikipedia.org/wiki/Boost_C%2B%2B_Libraries

  6. #6

  7. #7
    Registered User
    Join Date
    Nov 2006
    Posts
    519
    I got this one, but hadn't much time yet to look into:

    http://www.amazon.com/Beyond-Standar.../dp/0321133544

  8. #8
    Registered User
    Join Date
    Jan 2005
    Posts
    7,366
    >> Maybe if people could say which Boost classes are the most useful to them (the ones they use the most)

    I would start by looking at the ones used most here. There's shared_ptr and other smart pointers that are already in TR1 (in fact, a good starting point is everything in TR1, since they will probably all become standard soon). There are also the pointer containers that are interesting.

    If you work with files a lot, look at filesystem. If you use sockets, look at asio (not exactly part of boost but sort of). If you use threads look at the threads library.

    If you've done random number generation look at the random library. Or if you want to see a hash table implementation look for unordered_ containers.

    If you come from a C background and want a C++ perspective try using array instead of static C style arrays.

    If you want something advanced and powerful look at the lambda stuff and the concept check library.

    Or if none of those strike your fancy then just peruse the list. I get all my learning from that site and searching the internet.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. I want to learn C++ (: How shall I start?
    By Wall in forum C++ Programming
    Replies: 14
    Last Post: 08-24-2004, 05:46 AM
  2. Next Question...
    By Azmeos in forum C++ Programming
    Replies: 3
    Last Post: 06-06-2003, 02:40 PM
  3. Hi, where do I start to learn?!
    By Unregistered in forum C Programming
    Replies: 6
    Last Post: 08-16-2002, 03:58 AM
  4. Need some help with a basic tic tac toe game
    By darkshadow in forum C Programming
    Replies: 1
    Last Post: 05-12-2002, 04:21 PM
  5. Where is a good place to start?!
    By bobthefish3 in forum Game Programming
    Replies: 1
    Last Post: 10-09-2001, 11:28 AM