A Question about arrays file merging

From: K. Mark Northrup (renman82964_at_msn.com)
Date: 11/28/04


Date: Sun, 28 Nov 2004 14:57:02 -0500

Greetings Group,

    I'm new here and am learning C/C++ for my new job; I do have some
programing experience-mostly working with databases. I am working with two
different types of binary files, the first one contains binary data that
represents lat/long data in the form of doubles and I have a console program
that converts the binary data to doubles and prints the data to the screen.
The thing I need to do now is to place the data into a 2 by 'N' array
(because each pair of lat/long data represents a single pixel that in turn,
represents a point on the earth's surface).
    The second binary file contains the color/grayscale info for each pixel
(I need to confirm which). The program already exists in a Linux C format
and I am attempting to convert it to a Windows format while maintaining as
much code 'portability' as possible.

    Any help, thoughts, or suggestions would be most welcome.