Go Down

Topic: Arduino as a tool for learning C++? (Read 1 time) previous topic - next topic


Hey everyone, Im new to Arduinos and new to C++, and was wondering how effective a tool it was for learning the language, or if I should focus more on learning the language first. I was under the impression Id have better results doing the former, as Im a more 'applied' learner myself, and learning for me is usually easiest when problem solving and/or applied, but as Ive tried to learn, people have gotten frustrated with me still having yet to learn some basics.

As of right now, Ive managed to successfully teach myself most of the fundamentals of C++, so far as understanding objects, functions, operators, headers/libraries, and user/library defined functions/objects, and I can look at code and make a decent amount of sense of it based on that, but I do not understand so much about structure, or how I would ever go about writing something, or even trying to make something using pre existing libraries. Not that I dont think I couldnt still effectively learn this way, just thought I should ask for other's insight.

And unfortunately, taking classes is not an option, working a 9-5 and couldnt find any night classes nearby. Thanks!


Jan 23, 2018, 11:09 pm Last Edit: Jan 23, 2018, 11:16 pm by CatDadJynx
And as far as trying to teach myself, Im using something (I consider) to be fairly beginner, just an UNO with a DHT22 temp/humidity sensor to an OLED screen, with a modified adafruit sensor library and u8g2 library respectively.


Jan 23, 2018, 11:12 pm Last Edit: Jan 23, 2018, 11:13 pm by terryking228
I agree: coding with no hardware is not a good learning environment.

A couple of books I've used are good:

Beginning C for Arduino, Second Edition: Learn C Programming for the Arduino

DISCLAIMER: I am the technical editor of that book; I don't make any future money on it!

Beginning Arduino (Technology in Action)

I think this is the best overall Arduino book and lots of programming examples and projects.
Regards, Terry King terry@yourduino.com  - Check great prices, devices and Arduino-related boards at http://YourDuino.com
HOW-TO: http://ArduinoInfo.Info


Sorry, I was a bit delayed to add, but I do have hardware and a decent head start so far.

Go Up