S
Shane
Hi all, I am learning C, and I have a problem with printf.
I have a pointer that points to binary data, and I want to print that data
out. If I cast the pointer to (char *) then the data is printed out in the
UniCode(?) equivalent of the data.
If I try to cast to (int *) then I only get the address of the pointer (I
think). What I really want is all the ones and zeros to be printed out.
Any help appreciated
TIA
I have a pointer that points to binary data, and I want to print that data
out. If I cast the pointer to (char *) then the data is printed out in the
UniCode(?) equivalent of the data.
If I try to cast to (int *) then I only get the address of the pointer (I
think). What I really want is all the ones and zeros to be printed out.
Any help appreciated
TIA