"swetha" <> wrote in message
> I worte a RPC program for client and server, After computing
> (which i already did)..i get a float value.Now i want this value to be
> sent to the client .I know how to do with integer (By passing the
> addreess using the pointers,but when i am doing the same here iam
> getting errors.Can any 1 tell how to do that please.....
> for example say i have the value in result variable ;which is
> float....now how should i declare and send this to the client side....
>
You need to convert the floats to a common binary format.
If you read the maths section in my book Basic Algorithms (chapter avialable
free, on my website) you will see floating point representation explained.
--
Free games and programming goodies.
http://www.personal.leeds.ac.uk/~bgy1mm