If you're new to programming, this tutorial will show you how to program from scratch using c++ programming language using a simple example with comprehensive explanations. Note:
- Any line that starts with /* and ends with */ are comments, it doesn't make any changes to your code. Allows the programmer to add a description about the code. It's also called multiline comment.
- Anything after double forward slash or // to the end of the line is also considered to be a single line comment of the code. This code contains only one function, main (). Every c++ program must have main() function. As usual, execution begins at main function.