How to convert from 'int' to 'unsigned short *'
-
Hi, I want to convert from 'int' to 'unsigned short *'?what i have to do? Siddharth
-
Hi, I want to convert from 'int' to 'unsigned short *'?what i have to do? Siddharth
int i=10; unsigned short* pTypeInt=(unsigned short*)&i;
Somethings seem HARD to do, until we know how to do them. ;-)_AnShUmAn_
-
Hi, I want to convert from 'int' to 'unsigned short *'?what i have to do? Siddharth
May I ask you why do you want to do this wonderful conversion? Did you get an error like "Unable to convert parameter 3 from
int
tounsigned short*
? If so, what exactly were you trying to do?"The difficulty lies, not in the new ideas, but in escaping from the old ones." -- John Maynard Keyes, 1936
-
int i=10; unsigned short* pTypeInt=(unsigned short*)&i;
Somethings seem HARD to do, until we know how to do them. ;-)_AnShUmAn_
Thank you
-
May I ask you why do you want to do this wonderful conversion? Did you get an error like "Unable to convert parameter 3 from
int
tounsigned short*
? If so, what exactly were you trying to do?"The difficulty lies, not in the new ideas, but in escaping from the old ones." -- John Maynard Keyes, 1936
I want to use U16,U8 in my functions...