Cplus

< /code >





CPLUS MOD1       course cody

BASIC START

Suryansh Nadda

nody



  

the basic structure of cplus is very simple. we use some header files.The function main( ) invokes other functions within it.It is the first function to be called when the program starts execution

weak internet connection




  

Cout and cin:- Cout and cin variables are defined in iostream header file. Cout is the output operator which is used to print values.
example- cout<<"Hello world";
cin is the input operator which is used to read values from keyboard.

weak internet connection




  

Data types- The data types in programming language means the type of data our computer can process. example- if we want to add two numbers say 5 +7 , we are giving the integer data type as input. and if want to add 2.5 + 5.5 , we are giving the float data type as input.





  

Operators- In mathematics and sometimes in computer programming, an operator is a character that represents an action, as for example x is an arithmetic operator that represents multiplication. In computer programs, one of the most familiar sets of operators, the Boolean operators, is used to work with true/false values.

weak internet connection
Operations of addition, subtraction, multiplication and division correspond literally to their respective mathematical operators. The last one, modulo operator, represented by a percentage sign (%), gives the remainder of a division of two values







other avilable courses

codenody