What is the different between variables?

Feb 10, 2010 at 10:14am
What is the difference between the variables?
Feb 10, 2010 at 2:03pm
what?
Feb 10, 2010 at 2:05pm
Do you mean variable types?

Feb 10, 2010 at 2:17pm
Bit size and how many place values they can display and some can have combos of negatives, decimals, whole numbers
Feb 10, 2010 at 4:19pm
Yes, I meant variable types.

Which of those properties belong to which types?
I am guessing that only more advanced scripters would use the other ones....

Feb 10, 2010 at 4:28pm
http://www.cplusplus.com/doc/tutorial/variables/ (see Fundamental data types)
Also, long long int - 64 nit number <18446744073709551616
Feb 10, 2010 at 4:32pm
But how do they ....really.... differ from each other? What are their main differences?
Feb 10, 2010 at 4:41pm
What are their main differences?
Between integral types, the main difference is signedness (whether the type can represent negatives) and size (how many bits the type contains, or the largest value the type can represent). Between integral and floating point types, whether the type can represent fractional values. Floating point types can have different size, too.

Then there's the non-basic types, which is a whole different story.
Topic archived. No new replies allowed.