Programming C++ - Create 2 Simple Mathematic Operator Function Using C++ Software
Programming C++ - Create 2 Simple Mathematic Operator Function Using C++ Software
1. Programming C++
- Create 2 simple mathematic operator function using C++
software.
Value of sum operation
Cout
cout represent the standart output stream in C++ and the
meaning of the entire statement is insert a sequence of
character .
<<
the bitwise left shift to shift operator bits to the left.
\n
moves the active position to the initial position of the
next line.
;
the separation between statement is specified with an
ending semicolon at the end of each one sentences.
Return 0;
the return statement cause the main function to finish.
Return may be followed by a return code (in our example
is followed by return code 0). A return code of 0 for the
main function is generally interpreted as the program
worked as expected without any errors during its
execution.
2. Click the tab file and then select New Source File.
9. Result
10.