I came accros some code in a DX tutorial where a unsigned char was declared what would the point of this be ?
Code:unsigned char *pVertices;
I came accros some code in a DX tutorial where a unsigned char was declared what would the point of this be ?
Code:unsigned char *pVertices;
I have no idea what you just meant there.
That is a pointer to an unsigned char. What the point is, i have no clue.
I mean why would you declare a char unisgned :/
because otherwise it is signed or because a function takes unsigned char pointer as an argument or returns an unsigned char or because you want to have values from 0 255 instead of -127 to 128 (I think) or some other reason.
Last edited by Shakti; 01-29-2005 at 06:28 AM.