I have a binary file which contains two numbers
both number are separated with a newline.
When I read it back in to retieve the data I cannot get my orignal data back, I get a strange number.
y = (double *) &buffer;
z = *y;
unsigned int x = (unsigned int)floor(z);
cout << z <<"|"<< x << endl;