随笔分类 -  cpp

摘要:double *M = new double[2*num]; double *T = new double[2 * num]; double *activeM = new double[2 * num]; double *activeT = new double[2 * num]; double * 阅读全文
posted @ 2017-01-09 16:00 xy123001 阅读(207) 评论(0) 推荐(0)
只有注册用户登录后才能阅读该文。
posted @ 2016-12-22 21:40 xy123001 阅读(0) 评论(0) 推荐(0)
摘要:这vector 很有用 阅读全文
posted @ 2016-12-13 09:36 xy123001 阅读(360) 评论(0) 推荐(0)
摘要:创建多个子线程 参考: 秒杀多线程第三篇 原子操作 Interlocked系列函数 CreateThread创建线程传递结构体参数 http://blog.csdn.net/keepaction/article/details/7312048 阅读全文
posted @ 2016-10-19 11:05 xy123001 阅读(200) 评论(0) 推荐(0)
摘要:#include<iostrea> #include<fstream> int main() { ofstream fout;// 创建一个ofstream对象 fout.open("fileName.txt");//要写的txt 放到工程下 fout<<123456<<endl;//像cout一样 阅读全文
posted @ 2016-07-28 16:06 xy123001 阅读(274) 评论(0) 推荐(0)