Changeset 2921 in ntrip


Ignore:
Timestamp:
Jan 27, 2011, 6:35:18 PM (13 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/combination/bnccomb.cpp

    r2920 r2921  
    1515 * -----------------------------------------------------------------------*/
    1616
    17 #include <iostream>
     17#include <iomanip>
    1818
    1919#include "bnccomb.h"
     
    158158////////////////////////////////////////////////////////////////////////////
    159159void bncComb::processSingleCorr(const cmbAC* AC, const t_corr* corr) {
    160   cout << AC->name.toAscii().data() << " "
    161        << AC->mountPoint.toAscii().data() << " "
    162        << corr->prn.toAscii().data() << " "
    163        << corr->tt.datestr() << " " << corr->tt.timestr() << " "
    164        << corr->iod << " " << corr->dClk << endl;
     160  cout.setf(ios::fixed);
     161  cout << AC->name.toAscii().data()                           << " "
     162       << AC->mountPoint.toAscii().data()                     << " "
     163       << corr->prn.toAscii().data()                          << " "
     164       << corr->tt.timestr()                                  << " "
     165       << setw(4) << corr->iod                                << " "
     166       << setw(8) << setprecision(4) << corr->dClk * t_CST::c << "   "
     167       << setw(8) << setprecision(4) << corr->rao[0]          << " "
     168       << setw(8) << setprecision(4) << corr->rao[1]          << " "
     169       << setw(8) << setprecision(4) << corr->rao[2]          << endl;
    165170}
    166171
Note: See TracChangeset for help on using the changeset viewer.