上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 63 下一页
摘要: //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)<< 阅读全文
posted @ 2013-06-17 20:30 Predator 阅读(989) 评论(0) 推荐(0) 编辑
摘要: #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;} 阅读全文
posted @ 2013-06-17 20:15 Predator 阅读(298) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace SharpConsole{ public abstract class People { public abstract void Display(); public abstract void ShowMsg(); } public class Doctor : People { public override void Display() { Console.WriteLine("Doctor Di 阅读全文
posted @ 2013-06-15 17:51 Predator 阅读(183) 评论(0) 推荐(0) 编辑
摘要: #include "hptime.h"#include <iostream>#include <Windows.h>using namespace std;int main(){ long i = 10000000L; // HpTime hpTime;LARGE_INTEGER freQue,startQue,endQue;__int64 start,end,fre; QueryPerformanceCounter(&startQue); start = startQue.QuadPart;//LONGLONG time; while( i 阅读全文
posted @ 2013-06-15 15:14 Predator 阅读(172) 评论(0) 推荐(0) 编辑
上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 63 下一页