@hek said:
You probably need to pick up some of the c++ basics first. There free online :book: and we linked a couple of physical ones on the API page.
I would also recommend Beginning C in Arduino, which is a great start. It has practical examples you can test with your Arduino. Downside is that it has a terrible index and is pricey. Borrow it, don't buy it! ;)