M
Mantorok Redgormor
If I have an array of char and there is an integer located in that
char that was assigned by:
int foo=10;
*(int *)&array[position] = foo;
How can I extract that integer? Any portable way?
I can assign using the above method but can't retrieve it with the
above method.
Also, what is a portable method of sending and receiving a struct that
contains bitfields across a network to two different machines? one is
linux on x86 the other is solaris-sparc.. any idea? Very frustrating
problem.
char that was assigned by:
int foo=10;
*(int *)&array[position] = foo;
How can I extract that integer? Any portable way?
I can assign using the above method but can't retrieve it with the
above method.
Also, what is a portable method of sending and receiving a struct that
contains bitfields across a network to two different machines? one is
linux on x86 the other is solaris-sparc.. any idea? Very frustrating
problem.