#include <iostream>
#include "CFitsFile.h"
using namespace std;
using namespace arc;
int main()
{
try {
CFitsFile cFits( "Image1.fit" );
cout << "FITS filename: " << cFits.GetFilename() << endl;
}
catch ( std::exception &e )
{
cerr << "Exception Occurred: " << e.what() << endl;
}
}
OUTPUT:
Fits filename: Image1.fit
© Astronomical Research Cameras, Inc.