Posted by john higgs on December 7, 2009 at 4:53pm
Hello, allI'm new to programing and was wondering if anyone had any recomandations for some good resources for learning c++??? I just picked up a copy of' Getting Started with Arduino'.. I'm looking for some good easy websites or another book to read before I embark on this project. Thanks for your time.
You need to be a member of diydrones to add comments!
First, if you don't have previous programming experience, I would recommend that you not jump in and start with Arduino. I know that it would have quickly confused me if I had tried to start with that. Rather, I'd recommend spending some time working on the basics.
As far as C++ there are a LOT of tutorials out there. I don't have any particular that is my favorite or anything, but here are a couple that I looked through and seem to hit all the important points:
Another thing to think about, if you're new to programming, C/C++ is definitely not the easiest language to learn. As far as just learning how to program there's a lot of debate over what is easiest/best, but I would personally strongly recommend a beginner learn Python before trying to learn anything else. Its simple to pickup, and very powerful, you'll be able to do a lot of different things with it (but not edit Arduino code).
http://openbookproject.net//thinkCSpy/
This is really a good introduction to programming concepts, that just happens to be written in python. I haven't gone through all of it, but it looks really great. This is where I'd recommend that you start.
Replies
As far as C++ there are a LOT of tutorials out there. I don't have any particular that is my favorite or anything, but here are a couple that I looked through and seem to hit all the important points:
http://www.cplusplus.com/doc/tutorial/
(cplusplus.com is also an AWESOME reference to bookmark for C/C++ headers)
http://www.learncpp.com/
Another thing to think about, if you're new to programming, C/C++ is definitely not the easiest language to learn. As far as just learning how to program there's a lot of debate over what is easiest/best, but I would personally strongly recommend a beginner learn Python before trying to learn anything else. Its simple to pickup, and very powerful, you'll be able to do a lot of different things with it (but not edit Arduino code).
http://openbookproject.net//thinkCSpy/
This is really a good introduction to programming concepts, that just happens to be written in python. I haven't gone through all of it, but it looks really great. This is where I'd recommend that you start.
http://en.wikibooks.org/wiki/Non-Programmer%27s_Tutorial_for_Python...
Another good example, with lots of examples and practice problems to walk through.
http://docs.python.org/tutorial/
The official python tutorial, not as good on the basics, but still very good.