08.04.2018 Views

tipos

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Canal Fessor Bruno<br />

www.youtube.com.br/canalfessorbruno<br />

canalfessorbruno@gmail.com<br />

Tabela de <strong>tipos</strong> de variáveis em C++<br />

TIPO TAMANHO VALORES<br />

Int (16bits) 2 bytes -32 768 a 32 767<br />

Int (32bits) 4 bytes -2 147 483 648 a 2 147 483 647<br />

char 1 byte 256 caracteres<br />

double 8 bytes 2.2e-308 a 3.4e-38<br />

float 4 bytes 1.2e-308 a 3.4e-38<br />

bool 1 byte true / false<br />

unsigned short int 2 bytes 0 a 65 535<br />

short int 2 bytes -32768 a 32767<br />

unsigned long int 4 bytes 0 a 4 294 967 295<br />

long int 4 bytes -2 147 483 648 a 2 147 483 647<br />

unsigned int (16 bits) 2 bytes 0 a 65 535<br />

unsigned int (32 bits) 4 bytes 0 a 4 294 967 295<br />

string variável textos

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!