'DOS'에 해당되는 글 1건
- 2007/07/03
char* source = "\"Y:\\Flow_data\\.............\"";
char* target = "\"D:\\_project\\_NG-MON\\traffic_analysis...................\"";
char order[512];
sprintf(order, "xcopy %s %s /h", source, target);
system(order);
CTimeSpan ts = 60*60*24; //
CTime t1( 2007, start_month, start_day, 0, 0, 0 );
CTime t2( 2007, end_month, end_day, 23, 59, 59 );
t2 += 1;
CString data_file_name;
for (int i = 0; t1 < t2; t1 += ts, i++)
{
for (int hour = start_hour; hour < 24; hour++)
{
data_file_name.Format(_T("./_minAnalysis_data/%02d_%02d_%02d_data"), t1.GetMonth(), t1.GetDay(), hour);
ReadDataFile(data_file_name, i * 24 + hour);
}
}
MSDN 검색의 생활화!!!
| CTime, xcopy (0) | 2007/07/03 |
|---|---|
| C++ double pointer (0) | 2007/06/26 |