Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

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

  1. Jan 21, 2012 #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. Jan 21, 2012 #2

    Borek

    User Avatar

    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. Jan 21, 2012 #3

    Mark44

    User Avatar
    Insights Author

    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. Jan 21, 2012 #4

    phinds

    User Avatar
    Insights Author
    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 this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Similar Discussions: Learning C++ by reading the code of open source projects?
  1. C read, open (Replies: 22)

  2. The Source Code! (Replies: 15)

Loading...