Physics Forums

Physics Forums (http://www.physicsforums.com/index.php)
-   Programming & Computer Science (http://www.physicsforums.com/forumdisplay.php?f=165)
-   -   Learning C++ by reading the code of open source projects? (http://www.physicsforums.com/showthread.php?t=569518)

zahero_2007 Jan21-12 11:11 AM

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.

Borek Jan21-12 11:52 AM

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.

Mark44 Jan21-12 02:09 PM

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.

phinds Jan21-12 02:40 PM

Re: learning C++ by reading the code of open source projects???
 
+1 on both of the above ... very bad idea


All times are GMT -5. The time now is 12:48 AM.

Powered by vBulletin Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2014 Physics Forums