Advertisement Jump to content
Sign in to follow this  
Kizsam

Learning C++ from Modula 2 background...

This topic is 4930 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello, Up until now I have learnt to program with Modula 2, and have only played around with C++ a little. However, this semester I will be taking two modules at university that each require a different language to complete. I will need to know C++ for one module and Java for the other and neither of these languages will be taught formally. What is the easiest way to learn a new language? I have been told that it is very easy to learn a new language if you already know one. At the moment I am reading through SAMS teach yourself C++ in 21 days and it is putting me to sleep. I really don't need the explanations of what a constant or a variable is... I think that I just need to know the syntax and anything else that is important... Thanks.

Share this post


Link to post
Share on other sites
Advertisement
Easiest way to learn a new language is to use it, of course. There are no shortages of sample C++ code on the net. Indeed, you might say there is a plethora of pinatas...err... C++ sample programs out there. Given that you already have a programming background (Modula 2: [grin] I remember having to use that in college myself) I don't even suggest you need a book. Just grab a compiler and go for it.

Share this post


Link to post
Share on other sites
Thanks for the reply vertex.

The lecture notes for the first lecture were posted today and they include a crash course in C++, which is basically a table that show the Modula 2 code on one side and the equivalent C++ code on the other. This is basically what I was after. Now I can just dive right in as you suggested. :D

regards

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!