It’s fundamental
self note for
Computer Science
students.
Md Sakibur Rahman
Introduction to
C++ Programming with C++
Programming
, Programming notes:
int values: 7,0,-12……
float values: 5.9, 735.845,……
bool refears to that values: true or
false like 1,0
string refears to that thing which is in
coatation mark “ hhuuhuhe”
char is that values which is in single
coatation mark: ‘x’ ‘0’
ASCII values: A-65,B-66…., a-97, b-
98….
If I want to declair the value of string I
must be include the library
#include<string> by tying it
programme first.
Comment is using for a programmer to
understand him wht he was write to
remember himhimself. It can be
written like this: //thing is my first
programme this is a single line
comment.
Double line comment: /* */
, Programming notes:
“&&” - is a logical AND operator. If two
condition is satisfied answer is “YES”
otherwise “NO”.
, Programming notes:
“| |”- is a logical OR operator. If just one
condition is true answer is “yes”.
Otherwise answer is “No”.
self note for
Computer Science
students.
Md Sakibur Rahman
Introduction to
C++ Programming with C++
Programming
, Programming notes:
int values: 7,0,-12……
float values: 5.9, 735.845,……
bool refears to that values: true or
false like 1,0
string refears to that thing which is in
coatation mark “ hhuuhuhe”
char is that values which is in single
coatation mark: ‘x’ ‘0’
ASCII values: A-65,B-66…., a-97, b-
98….
If I want to declair the value of string I
must be include the library
#include<string> by tying it
programme first.
Comment is using for a programmer to
understand him wht he was write to
remember himhimself. It can be
written like this: //thing is my first
programme this is a single line
comment.
Double line comment: /* */
, Programming notes:
“&&” - is a logical AND operator. If two
condition is satisfied answer is “YES”
otherwise “NO”.
, Programming notes:
“| |”- is a logical OR operator. If just one
condition is true answer is “yes”.
Otherwise answer is “No”.