摘要:
#include <vector> #include <string> #include <iostream> using namespace std; vector<string> split(const string &s, const string &seperator){ vector<string> result; typedef string::size_type string_siz 阅读全文
posted @ 2019-09-06 20:42
小大大小
阅读(524)
评论(0)
推荐(0)
摘要:
ofstream是从内存到硬盘,ifstream是从硬盘到内存,其实所谓的流缓冲就是内存空间。 1、插入器(<<) 向流输出数据。比如说系统有一个默认的标准输出流(cout),一般情况下就是指的显示器,所以,cout<<"Write Stdout"<<’\n’;就表示把字符串"Write Stdou 阅读全文
posted @ 2019-09-06 20:34
小大大小
阅读(1795)
评论(0)
推荐(0)

浙公网安备 33010602011771号