The next part is the "main" function. This is where execution of the program will actually begin.
The last part is the code that is to be executed and belongs to the main function. Curly brackets { } define the beginning and end of the function. This example contains only one print statement to be executed. Note how the code within the curly brackets is indented (using a tab or spaces) to show that it belongs to the main function block. This indentation is not required but helps readers see the program structure. Instructions must end with a semicolon ';'. Double forward slashes allow comments to be added at the end of an instruction. The include statement has a # symbol in front of it.
#include "KMotionDef.h"<br data-attributes="%20/">main()<br data-attributes="%20/">{<br data-attributes="%20/"> printf("Hello World!\n"); // send message to console<br data-attributes="%20/">}
===<span id="Basic_Disk_Read.2FWrite" class="mw-headline">Basic Disk Read/Write</span>===