Hi,
First you must determine ediannes on a your machine
for example:
#include <stdio.h>
unsigned short x = 1; /* 0x0001 */
int main(void)
{
printf("%s\n", *((unsigned char *) &x) == 0 ? "big-endian" : "little-endian");
return 0;
}
and when you will be serialize/de-serialize to a 4 byte...
hello everybody!
I want to learning the wxWidgets library [ http://www.wxwidgets.org/ ]
I have some problems with installing this library and compile a sample project
I install the following from /usr/ports :
1. wxgtk2-2.8.10_3
2. wxgtk2-common-2.8.10_3
3. wxgtk2-unicode-2.8.10_3
Sample...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.