Manuel Ambulo
20 Oct 2006, 11:09
Hi,
This maybe is a FOOL or basic question that i think i shouldnt ask, but just to be sure or confirm.
In the SimConnect SDK, when a variable is type "BOOL" (In the SimVariables list) means it is an "integer" (4 bytes of size), or a "char" (1 byte of size)..of size?...:confused: ...as you know it will return a value of TRUE = 1 or FALSE = 0...
Im asking because i want to be sure if a "BOOL" is "integer" (4 bytes)..or "char" (1 byte).
In C, there is a data type of "BOOL" which is an "integer" (4 bytes of size)...but in C++, there is another data type which is "bool" (not the same as "BOOL"), which is actually (1 byte of size)....
Also i want to ask, data types, BCO16 and BCD32 are like these?:
BCO16 = unsigned short?
BCD32 = unsigned long?
(Correct me if....im wrong)..
Thanks,
Manuel Ambulo
(Sorry for these FOOL questions, but i feel i had to ask them.. to be sure or to confirm, if im wrong then correct me, please) :o
This maybe is a FOOL or basic question that i think i shouldnt ask, but just to be sure or confirm.
In the SimConnect SDK, when a variable is type "BOOL" (In the SimVariables list) means it is an "integer" (4 bytes of size), or a "char" (1 byte of size)..of size?...:confused: ...as you know it will return a value of TRUE = 1 or FALSE = 0...
Im asking because i want to be sure if a "BOOL" is "integer" (4 bytes)..or "char" (1 byte).
In C, there is a data type of "BOOL" which is an "integer" (4 bytes of size)...but in C++, there is another data type which is "bool" (not the same as "BOOL"), which is actually (1 byte of size)....
Also i want to ask, data types, BCO16 and BCD32 are like these?:
BCO16 = unsigned short?
BCD32 = unsigned long?
(Correct me if....im wrong)..
Thanks,
Manuel Ambulo
(Sorry for these FOOL questions, but i feel i had to ask them.. to be sure or to confirm, if im wrong then correct me, please) :o