>>#include
did you even read the post??
he's not reading that type of file, just because he said header file. He's reading in a text file containing info on the position of a satellite.
you need to use file i/o
Code:
#include <fstream>
char * satPosition=new char[128]; //make bigger if you need it
int main()
{
ifstream fin("c:\\whatever\\fileCreatedByStation.txt"); //initialize file handle, don't take out the double slashes, they're character escapes
fin.getline(satPosition,127);
fin.close();
cout<<satPosition<<endl;
delete [] satPosition;
satPosition=NULL;
return 0;
}