On Feb 4, 4:31 pm, Eric Sosman <esos...@ieee-dot-org.invalidwrote:
Tricky wrote:
Is there a way I can easily convert a char array into an int array,
without having to cast each value in the array to an int and copying
it to a new array?
It depends on what you mean by "convert." Please describe
exactly what you have, and exactly what you want to get.
--
Eric Sosman
esos...@ieee-dot-org.invalid
Ive read all of the data out of a Bitmap (Im ignoring anything other
than 8 bits). Because I may want to manipulate them as if they were 10
bit values I need to store them into something wider than a char
array.
No need to worry about the 10 bit thing, I know Im going to have to
bit shift them all left by 2 once they are in the int array. Its just
getting the values into the int array in the first place.