View Single Post
  #4   Spotlight this post!  
Unread 30-12-2007, 00:27
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: Manipulating bits

It looks like you are trying to "serialize" or "marshal" your data. Googling these terms may help.

In C, one nifty trick is to recast your data as strings.

Code:
int n=4;
char * s = (char *)&n;
Then, write a function that can push strings across.