From: Joe Van Dyk Date: 2005-04-02T09:06:43+09:00 Subject: Getting binary data Hi, I've got a file that has some floats and ints at the beginning of the file. The floats were added to the file with code like: fprintf(file_ptr, "%f %f\n", some_float_1, some_float_2); fprintf(file_ptr, "%f %f\n", some_float_3, some_float_4); fprintf(file_ptr, "%d %d\n", some_int_1, some_int_2); fprintf(file_ptr, "%d %d\n", some_int_3, some_int_4); But I'm having the hardest time using unpack() to get the data. Any pointers? Joe