1. TIPOS DE C++
TIPO COMENTARIO TAMAÑO
INT Opciónpredeterminadaparalosvaloresenteros. 4 bytes
DOUBLE
Opciónpredeterminadaparalosvaloresde punto
flotante.
8 bytes
BOOL Representavaloresque puedensertrue ofalse. 1 byte
CHAR
Se utilizaenloscaracteresASCIIde cadenasestiloC
antiguosuobjetosstd:stringque nuncatendránque
convertirse aUNICODE.
1 byte
WCHAR_T
Representavaloresde caracteres“anchos”que se
puedencodificarenformatoUNICODE(UTF-16 en
Windows;puede diferirenotrossistemasoperativos).
Es el tipode carácter que se utilizaenlascadenasde
tipostd::wstring.
2 bytes
UNSIGNED CHAR C++ no tiene untipo byte integrado.Utilice uncarácter
sinsignopara representarunvalorbyte.
1 byte
UNSIGNED INT Opciónpredeterminadaparalosmarcadoresde bits. 4 bytes
LONG LONG Representavaloresenterosmuygrandes. 8 bytes
SALVADORSANCHEZMUÑOZ