Learning C++ by reading the code of open source projects?

  1. learning C++ by reading the code of open source projects???

    Is there any resource that teaches C++ by taking an open source project (at the level of quake 3 for example)and explains the code step by step for some one who only knows the very basics . In my opinion It will be very efficient . I can understand the syntax and some logic to some extent but I want a step by step explanation because it is difficult for me to follow the complex code.
     
    Last edited: Jan 21, 2012
  2. jcsd
  3. Borek

    Staff: Mentor

    Re: learning C++ by reading the code of open source projects???

    Personal opinion:

    I don't think it would make sense. Advanced projects often use advanced solutions and unorthodox approaches that will be hard to follow for a beginner, and won't necessarily teach good general coding techniques. Analysis of such code in the advanced C++ course can be an interesting idea.
     
  4. Mark44

    Staff: Mentor

    Re: learning C++ by reading the code of open source projects???

    I agree with Borek. Once you have the basic concepts firmly in hand, then it might make some sense to look at an open source project of some kind.
     
  5. phinds

    phinds 8,342
    Gold Member

    Re: learning C++ by reading the code of open source projects???

    +1 on both of the above ... very bad idea
     
Know someone interested in this topic? Share a link to this question via email, Google+, Twitter, or Facebook

Have something to add?