⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 stl_a1.cpp

📁 构造函数例子
💻 CPP
字号:
// STL_A1.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include <vector>
#include <algorithm>
#include <iterator>
#include <iostream>
#include <fstream>
using namespace std;


int _tmain(int argc, _TCHAR* argv[])
{
	 if(argc>2)
        ofstream(argv[2], ios::out|ios::binary)<<ifstream(argv[1], ios::in |ios::binary).rdbuf();
    else if(argc>1)
        cout<<ifstream(argv[1], ios::in |ios::binary).rdbuf();
    else
        cout<<cin.rdbuf();
	return 0;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -