结对对象:何季生 贡献比例:50%;50% #include "stdafx.h"#include<iostream>#include<fstream>#include<cstring>using namespace std; struct Num{ int num = 1; char *s = N ...
分类:
其他好文 时间:
2016-06-04 17:36:04
阅读次数:
147
#include <opencv2/highgui/highgui.hpp> #include "LoadInfo.h" #include "GroundPlaneEstimation.h" #include <fstream> #include <iomanip> #include "config ...
分类:
其他好文 时间:
2016-06-04 07:00:55
阅读次数:
168
在 C++ 的标准模板库中提供了一组模板类来支持面向对象的数据的输入输出功能,如基本的输入输出流 istream类/ostream类,文件输入输出流 ifstream类/ofstream类/fstream类,字符串输入输出流 stringstream类/istringstream类/ostringstream类等。C++ I/O 还可以对对象进行输入输出操作,这些都是 C 所不具备的。
本章将介绍标准输入输出流、文件输入输出流和字符串输入输出流的相关使用。...
分类:
编程语言 时间:
2016-06-02 13:50:30
阅读次数:
299
2.答案300 刁丝卫代码,比赛时long long写成int,结果成了263。。。一等擦肩而过。。。 #include <iostream> #include <fstream> #include <cstring> #define LL long long using namespace std ...
分类:
编程语言 时间:
2016-06-01 19:48:14
阅读次数:
588
// MyJsonTest.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include <fstream> #include <cassert> #include "json/json.h" using namespace std; /********* ...
分类:
Web程序 时间:
2016-05-30 14:31:42
阅读次数:
284
C++ 通过以下几个类支持文件的输入输出: ofstream: 写操作(输出)的文件类 (由ostream引申而来) ifstream: 读操作(输入)的文件类(由istream引申而来) fstream: 可同时读写操作的文件类 (由iostream引申而来) 打开文件(Open a file) ...
分类:
编程语言 时间:
2016-05-02 18:23:12
阅读次数:
222
17.1 文件流类 17.2 文件的打开关闭 #include<fstream> fstream oFile("D:\\dang.dat",ios::out|ios::binary); 或 fstream oFile; oFile.open("D:\\......",ios::out|ios::bi ...
分类:
其他好文 时间:
2016-05-02 15:42:36
阅读次数:
234
#include<iostream> #include<string> #include<fstream> #include<cstdlib> using namespace std; enum {SUBJECT=5};//一共五门 typedef struct { char subject[10] ...
分类:
其他好文 时间:
2016-04-22 13:34:15
阅读次数:
191
#include<pthread.h>
#include<fstream>
#include<iostream>
#include<string>
#include<vector>
usingnamespacestd;
#defineLINE_PER_THREAD1024
pthread_mutex_tcount_mutex=PTHREAD_MUTEX_INITIALIZER;
structparam{
vector<string>..
分类:
其他好文 时间:
2016-04-17 09:08:11
阅读次数:
138
Chrome NativeClient创建 该demo目标是让chrome扩展启动本地exe 1创建一个名叫nativeMsgDemo的控制台程序 #include <Windows.h> #include <iostream> #include <string> #include <fstream ...
分类:
其他好文 时间:
2016-04-13 18:42:33
阅读次数:
135