My third day in ,,Ilm Hub"
Dilshod6677
Posted on March 17, 2022
I have learned:
New Terminal commands
Logical operators
Main purposes of
-iostream
;
-using namespace
;
-int main
;
-return 0.
Lets start from new terminal command which is alias
'alias' is one of the common terminal operator which is used for giving nickname. If we have to use long code frequenty, we can give nickname to this code with alias.For example: We always use
g++ mani.cpp -o programm && ./programm
for run our programm. In this situation, we can usealias run='g++ mani.cpp -o programm && ./programm'
instead of typing long code and we do this operation just with typingrun
.
iostream
, using namespace
, int main
and return 0
-
iostream
is input/otput stream; -
using namespace
makes orders disposable which are written frequantly; -
int main
is enterance point of programm; -
return 0
refers successful finishing;
Logical operators
-
AND
-&&
-
OR
-||
-
NOT
-!
💖 💪 🙅 🚩
Dilshod6677
Posted on March 17, 2022
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.