To edit a C program, begin by creating a new or opening an existing program. This can be done with the appropriate options from the File menu, or buttons from the File toolbar.
C programs are stored in an ordinary text file, so long as the file name has an extension of ".c". If you have a favorite text editor, you may feel free to use that instead of the built-in editor, but you will need to load the file into the IDE to compile, debug, and upload it.
The IDE's C source editor works in much the same way as any other text editor. File operations such as Open, Save, and Print can be found under the File menu. Editing operations such as Cut, Paste, and Search can be found under the Edit menu.
Additionally, the editor lets you select entire lines by clicking on the line number. Selected text regions can be dragged with a left-click of the mouse. Right-clicking on the text pulls up a pop-up menu giving you quick access to the Edit menu options.
C programs are written in two parts. Global variables, constants, and timers are defined in the first part; and all commands to be executed are in the second.