PDA

View Full Version : learning C++ by reading the code of open source projects???


zahero_2007
Jan21-12, 11:11 AM
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.

Borek
Jan21-12, 11:52 AM
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.

Mark44
Jan21-12, 02:09 PM
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.

phinds
Jan21-12, 02:40 PM
+1 on both of the above ... very bad idea