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

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 4K views
zahero_2007
Messages
75
Reaction score
0
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:
Physics news on Phys.org


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.
 


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.