Learning to write code

Hi everyone, I want to learn to write my own code. Our their any places that would be helpful? I can take a written code and make small changes to it but I want to learn to write one from scratch. Any suggestions?

First understand what other people's code is doing. That you can make changes to it shows that you're begining to get that. Next, decide on a project you want to code and write down all the steps, in plain language, the program needs to make. Then try coding it. Any difficulties can be answered here.

3 books I recommend you to get.
http://www.amazon.ca/Arduino-Cookbook-Michael-Margolis-ebook/dp/B006MHUK32
http://www.amazon.ca/s/ref=nb_sb_noss?url=search-alias%3Ddigital-text&field-keywords=Arduino+for+teens

http://learn.adafruit.com/category/learn-arduino
http://www.ladyada.net/learn/arduino/

Jh123456789:
Hi everyone, I want to learn to write my own code. Our their any places that would be helpful? I can take a written code and make small changes to it but I want to learn to write one from scratch. Any suggestions?

According to me .
First decide the project you wanna make.
Then make layout or block diagram for the project
In forum check how library being used associated with your project.
Then put all together .