SukiStrider
Programmer
- Jun 26, 2002
- 8
Hey Everyone,
I am an originalist (Not sure if that's the right word for this or even if it exists), but
if I choose to get into something I like to know how every thing was done OR I cannot & will
never be satisfied with my own work no matter how good it is [genetics].
I was wondering does anyone know how to make your own data types, for example
I know you can rename 'C/C++' standard data type char, int, etc using typedef
to any other name you want, but I mean if I wanted to make an int data type that is 14 bits wide instead of 16 bits how would I do this?
Has anyone thought about how the inventor(s) of 'C/C++' made such a prominent data type.
I mean how do you tell the computer that the data type should have only this number
of bits or does it have something to do with the processor's register that is used when
coding the programming language?
If anyone can help you would be king/queen amongst men and woman.
Thanks in Advance
Jaigar©
I am an originalist (Not sure if that's the right word for this or even if it exists), but
if I choose to get into something I like to know how every thing was done OR I cannot & will
never be satisfied with my own work no matter how good it is [genetics].
I was wondering does anyone know how to make your own data types, for example
I know you can rename 'C/C++' standard data type char, int, etc using typedef
to any other name you want, but I mean if I wanted to make an int data type that is 14 bits wide instead of 16 bits how would I do this?
Has anyone thought about how the inventor(s) of 'C/C++' made such a prominent data type.
I mean how do you tell the computer that the data type should have only this number
of bits or does it have something to do with the processor's register that is used when
coding the programming language?
If anyone can help you would be king/queen amongst men and woman.
Thanks in Advance
Jaigar©