C++ Cheat Sheet, Syntax Quick Reference Handbook, by Table and Chart: Syntax Quick Study Guide

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

About This Book This book covers all basic C++ syntaxes, almost each syntax entry lists a program example and result output. ( 300 examples, 300 outputs, 300 explanations ). We can quickly reference the most helpful programming syntaxes, such as common command syntax, string function syntax, collection function syntax, class & object syntax……; all these syntaxes are very useful for programming. We can take this book as a basic syntax manual because its entries are arranged alphabetically so that we can easily reference the important syntax. Nowadays or in the future, the C++ Syntax Book can provide great help for coding both in our study and our work. Note The paperback version of this book is shown at the lower part of this page.

Author(s): Yao, Ray
Publisher: Web Application Development Learn Coding From Zero Novice to Hero Professional Ninja Expert Textook
Year: 2023

Language: English
Pages: 199

Syntax Chart
#define syntax:
#define syntax:
#variable syntax:
#if…#else…#endif syntax:
#ifdef…#else…#endif syntax:
## syntax:
*pointer syntax:
& operator syntax:
&argument syntax:
? : operator syntax:
~ destructor() syntax:
__DATE__ syntax:
__FILE__ syntax:
__LINE__ syntax:
__TIME__ syntax:
__cplusplus syntax:
abs() function syntax:
abstract class syntax:
acos() syntax:
anonymous function syntax:
array creating (1) syntax:
array creating (2) syntax:
array element's value syntax:
array parameter syntax:
array size syntax:
asin() syntax:
at() syntax:
atan() syntax:
atexit() syntax:
atof() syntax:
atoi() syntax:
atol() syntax:
auto syntax:
break syntax:
cast operator syntax:
cbrt() syntax:
ceil() function syntax:
cerr syntax:
cin syntax:
class defining syntax:
class method syntax:
class template syntax:
clog syntax:
comment syntax:
conditional compiling syntax:
conditional compiling syntax:
conditional operator syntax:
constant defining syntax:
constant defining syntax:
constexpr syntax:
constructor syntax:
continue syntax:
convert type syntax:
cos() syntax:
cosh() syntax:
cout syntax:
ctime() syntax:
current date & time syntax:
data type syntax:
date & time of utc syntax:
default parameter syntax:
define variable syntax:
delete variable syntax:
delete array syntax:
dereference syntax:
destructor syntax:
detach() syntax:
div() syntax:
do / while loop syntax:
e.what( ) syntax:
empty() syntax
encapsulation syntax:
end of file syntax:
enumeration syntax:
eof() syntax:
escaping sequence syntax:
exception syntax:
exception message syntax:
exit() syntax:
exp() syntax:
expm1() syntax:
extern syntax:
extern function syntax:
extern variable syntax:
fabs() syntax:
fdim() syntax:
find() syntax:
floor() function syntax:
fma() syntax:
fmax() syntax:
fmin() syntax:
fmod() syntax:
for loop syntax:
friend function syntax:
function syntax:
function template syntax:
function with argument syntax:
gcd() syntax:
get() syntax:
getchar() syntax:
getenv() syntax:
getline() syntax:
getter syntax:
global variable syntax:
goto syntax:
hypot() syntax:
if statement syntax:
if-else statement syntax:
ifstream syntax:
inheritance syntax:
inline function syntax:
input by user syntax:
input one character syntax:
input string syntax:
input string syntax:
insert() syntax:
isalnum() syntax:
isalpha() syntax:
is_compound<> syntax:
isdigit() syntax:
isgraph() syntax:
islower() syntax:
ispunct() syntax:
isspace() syntax:
isupper() syntax:
join() syntax:
joinable() syntax:
lambda function syntax:
lcm() syntax:
local variable syntax:
log() syntax:
log2() syntax:
log10() syntax:
math function syntax:
max() function syntax:
memchr() syntax:
memcmp() syntax:
memory assigned syntax:
memory assigned syntax:
min() function syntax:
modf() syntax:
multiple inheritance syntax:
multiple inheritance syntax:
multithreading syntax:
namespace syntax:
null pointer syntax:
object creating syntax:
object initialization syntax:
ofstream syntax:
operator overload syntax:
operator overload syntax:
output command syntax:
overloading syntax:
overriding syntax:
pointer++ syntax:
pointer-- syntax:
pointer array syntax:
pointer array syntax:
pointer initializing syntax:
pointer swapping syntax:
pointer using syntax:
pointer & string syntax:
polymorphism syntax:
pow() function syntax:
private syntax:
protected syntax:
public syntax:
put() syntax:
putchar() syntax:
puts() syntax:
raise() syntax:
rand() syntax:
read a file syntax:
read() syntax:
recursion syntax:
reference argument syntax:
reference object syntax:
reference variable syntax:
remove() syntax:
rename() syntax:
return syntax:
round() function syntax:
seekg() function syntax:
seekp() function syntax:
setter syntax:
signal() syntax:
signed number syntax:
sin() syntax:
sinh() syntax:
sizeof() syntax:
sqrt() function syntax:
srand() syntax:
static function syntax:
static global variable syntax:
static local variable syntax:
static variable syntax:
std::chrono::milliseconds() syntax:
std::chrono::seconds() syntax:
std::this_thread::sleep_for() syntax:
strcat() syntax:
strchr() syntax:
strcmp() syntax:
strcpy() syntax:
strerror() syntax:
strlen() syntax:
string array syntax:
strings connecting syntax:
string size syntax:
strstr() syntax:
struct syntax:
swap string syntax:
swap() syntax:
switch statement syntax:
tan() syntax:
tanh() syntax:
tellg() syntax:
tellp() syntax:
template of class syntax:
template of function syntax:
this syntax:
thread_local syntax:
throw exception syntax:
time() syntax:
tolower() syntax:
toupper() syntax:
try / catch syntax:
two-dimensional array syntax:
type alias syntax:
type conversion syntax:
typedef syntax:
user defined literal syntax:
user input syntax:
utc date & time syntax:
variable defining syntax:
virtual syntax:
while loop syntax:
unsigned number syntax:
vector declaring syntax:
vector method syntax:
vector method syntax:
virtual function syntax:
virtual method syntax:
volatile syntax:
write() syntax:
write a file syntax:
Appendix
Data Type Chart
C++ Keyword Chart
File Opening Chart
Arithmetical Operator Chart
Comparison Operator Chart
Bitwise Operator Chart
Logical Operator Chart
Assignment Operator Chart
Escaping Character Chart
Special Member Function Chart
Error Chart
X++ or ++X Chart
Vector method Chart
Variables Chart
I/O Library Chart
Math Function Chart
Operator Precedence Chart
Access Permission Chart
String Function Chart
File Opening Mode Chart
Date & Time Function Chart
Signal Chart
File Location Pointer Chart
Type Qualifier Chart
Exception Chart
Overloadable Operators Chart
Non-Overloadable Operators Chart
Lambda Capture Chart
Preprocessor Macro Chart
Cheat Sheet Series by Ray Yao