C++ Programming
144 subscribers
51 photos
4 files
7 links
C++ Programming Tutorials
Download Telegram
Basic elements of C++

0⃣ Reserved words

A reserved word is a word that cannot be used as an identifier, such as the name of a variable, function, or label

@c_programming_tut
1⃣ Identifier

is a name used to identify a variable, function, class, module, or any other user-defined item.

📌Start with a letter or underscore

📌Consist only of alpha-numeric symbols or the underscore symbol _

📌Not be a reserved word

@c_programming_tut
2⃣ Comments
a piece of descriptive text which explains some aspect of a program.

Comments can be used to explain C++ code, and to make it more readable. It can also be used to prevent execution when testing alternative code.

Single-line comments //

Multi-line comments /* */

@c_programming_tut
Data types

A data type specifies the type of data that a variable can store such as integer, floating, character etc
Operators

Operators in C++, An operator is a symbol that tells the compiler to perform specific mathematical or logical manipulations.

📌Operators in C++ can be classified into 7 types

@c_programming_tut
C++ IDE👆