MUD-Dev
mailing list archive

[ Other Periods  | Other mailing lists  | Search  ]

Date:  [ Previous  | Next  ]      Thread:  [ Previous  | Next  ]      Index:  [ Author  | Date  | Thread  ]

[MUD-Dev] Re: [CODE QUESTION] How to encode floats into bytes?



Regarding my last post, I completely missed the subject of the message ;)

Sorry...but I'm sure the same idea could be applied to char's, eg:

typedef union
{
   char  Char[4];
   float Float;
} char_float_type;

KaVir.




[ Other Periods  | Other mailing lists  | Search  ]