mtumerge.cpp
Go to the documentation of this file.00001 #include "MtuFormat.h"
00002 #include <iostream>
00003 #include "Util.h"
00004
00005 using namespace std;
00006 using namespace gplib;
00007
00008
00009
00010
00011
00012
00013
00014
00015 int main()
00016 {
00017 MtuFormat ETsData, BTsData;
00018
00019 string einfilename = AskFilename("E Channel Filename: ");
00020 string binfilename = AskFilename("B Channel Filename: ");
00021 string outfilename = AskFilename("Output Filename: ");
00022
00023 ETsData.GetData(einfilename.c_str());
00024 BTsData.GetData(binfilename.c_str());
00025 BTsData.GetEx() = ETsData.GetEx();
00026 BTsData.GetEy() = ETsData.GetEy();
00027 BTsData.WriteData(outfilename.c_str());
00028 }
00029