Skip to content

Notes

Size empty class

The size of an empty class is not zero. It is 1 byte generally. It is nonzero to ensure that the two different objects will have different addresses.

FPS to MS

1000/FPS = ms

Condition Ternaire :

cpp
bool b;
int vrai;
int faux;
int c == b ? vrai : faux;

Nombre Octets :

TypeOctet
int4
long int4
long long int8
short int2
float4
double8
bool1
char1
string28