Please enable JavaScript.
Coggle requires JavaScript to display documents.
C++ (advanced data type (pointer (categories (void pointer (reinterpret…
C++
advanced data type
array
init
w/ size
w/o size
n-dim
vector
operation
array idiom
STL idiom
init
w/ size
w/ array
w/ vector
string
char array
#include <cstring>
string class
#include <string>
pointer
categories
void pointer
reinterpret_cast
const type pointer
const_cast
pointer const
operation
data type as an unit
be used like an array
dynamic memory allocation
new / delete
char pointer and string
reference
I/O
manipulators
#include <iomanip>
format flags
ios::fmtflags
fmtflags flags()
fmtflags flags(fmtflags)
overload <<
overload >>
file
stream
open
openmode
close
get
read
get pointer
put
write
put pointer
essential
data
literal / variable
type
float
float
double
long double
char
int
int
long
short
bool
operator
arithmetic
type conversion
implicit
explicit
static_cast
user-defined
rational
conditional
logical
bitwise
assignment
control flow
if
switch
for
while
break / continue / goto
code structure
#include
entry point
using namespace
object-oriented
encapsulation
class
#
access modifier
friend
#
const & mutable
static
forward declaration
class scope resolution ::
categories
nested
local
pointer
member function pointer
static member pointer
bit-field
cannot get addr
non-static
object
constructor
member initialization list
member(param)
parent_constructor(param)
copy constructor
overload =
destructor
auto_ptr
pointer
this
enum
union
extra state variable
inheritance
parent class (base class)
child class (derived class)
protected members
this->parent::method
constructor/destructor call order
categories
public
protected
private
polymorphism
virtual function
pure virtual function
abstract class
RTTI
typeid(obj)
dynamic_cast
multiple inheritance
virtual inheritance
function
essential
scope
extern variable
static variable
categories
block
local
global
overload
operator
unary
postfix
prefix
function
default argument
inline function
advanced
recursion
replace with loop
parameter
pass by value
pass value
pass address
multiple results
pass by reference
pass object
const modifier
return
value
reference
variable-length arguments
#include <cstdarg>
va_list
va_start
va_arg
va_end
function pointer
exception handling
try / catch / throw
exception specification
standard exception class
namespace
#
use
using namespace NAME
using NAME::member
definition
namespace {}
namespace NAME {}
template
template <class X>