i was just wondering what the size of the basic variables are in c++.
INT
CHAR
DOUBLE
FLOAT
THanks
ps the reason for this question is im trying to send data to a microcontroler throught the serial port and i need to know how many bytes are send and read when i send them thought the serial port so that i can configure my packet .
thanks again in advance

Data type byte value
PeterPanTech
int = 4 bytes (32-bits)
char = 1 byte (8-bits)
double = 8 bytes (64-bits)
float = 4 bytes (32-bits)
perhelge201
Nikola