-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathiiiteru.cpp
42 lines (42 loc) · 1.08 KB
/
iiiteru.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
//#include"DataLogger.h"
//#include <iomanip>
//#include<sstream>
//#include <string>
//using namespace std;
//ostream&operator <<(ostream &os,const Coord &c){
// return os<<c.deg<<"*"<<c.min<<"\'"<<c.sec<<"\"";
//
//}
//std:: string IntToString(int a){
// std::ostringstream s;
// s<<a;
// return s.str();
//
//}
//string Coord ::toString()const {
// ostringstream os;
// os<<*this;
// return os.str();
//}
//ostream & operator<<(ostream &os,const DataPoint& d){
// os.setf(ios::fixed,ios::floatfield);
// char fillc=os.fill('0');
// tm*tdata=localtime(&d.timestamp);
// os<<setw(2)<<tdata->tm_mon+1<<'\\'
// <<setw(2)<<tdata->tm_mday<<'\\'
// <<setw(2)<<tdata->tm_year+1900<<' '
// <<setw(2)<<tdata->tm_hour<<' :'
// <<setw(2)<<tdata->tm_min<<':'
// <<setw(2)<<tdata->tm_sec;
// os.fill(' ');
// streamsize prec=os.precision(4);
// os<<"Lat:"<<setw(9)<<d.latitude.toString()
// <<",long"<<setw(9)<<d.longitude.toString()
// <<",depth"<<setw(9)<<d.depth
// <<",temp: "<<setw(9)<<d.temprature;
//os.fill(fillc);
//os.precision(prec);
//return os;
//
//}
//