摘要:
//DateTime.cpp:定义控制台应用程序的入口点。// #include<string>#include<iostream>usingnamespacestd; #include<boost/date_time.hpp>usingnamespaceboost::gregorian;//usingnamespaceboost::gregorian;//usingnamespaceboost; intmain(){ //定义日期 datemyDate(2013,6,1); cout<<to_iso_string(myDate)<< 阅读全文
摘要:
#include <iostream>using namespace std;int main(int argc, char *argv[]){ char name[40]; sprintf(name, "ganquanfu2008"); cout << name << endl; //输出ganquanfu2008int tem;cin >> tem;return 0;} 阅读全文