J
junky_fellow
In most of the codes that i have seen,
i observed the following typedefs.
typedef unsigned int t_uint32
typedef int t_sint32
typedef unsigned char t_uint8
typedef char t_sint8
what is the purpose of doing all that ?
i understand that its quicker to write t_uint32 instead of unsigned int,
and the code becomes more readable.
but is there any other reason for using these typedefs ?
In some of the articles i read that these typedefs make the code
portable, but i couldn't understand how ?
can i write a portable code without using all these typedefs ?
thanx in advance for any help.....
i observed the following typedefs.
typedef unsigned int t_uint32
typedef int t_sint32
typedef unsigned char t_uint8
typedef char t_sint8
what is the purpose of doing all that ?
i understand that its quicker to write t_uint32 instead of unsigned int,
and the code becomes more readable.
but is there any other reason for using these typedefs ?
In some of the articles i read that these typedefs make the code
portable, but i couldn't understand how ?
can i write a portable code without using all these typedefs ?
thanx in advance for any help.....