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

📄 main.cpp

📁 Design Componenet With C++ STL配套书源代码
💻 CPP
字号:
// k3/list/identify/main.cpp#include<fstream>#include<list>#include"identif.h"int main( ) {    // define and open input file    std::ifstream Source("main.cpp");    std::list<Identifier> Identifier_list;    std::istream_iterator<Identifier> iPos(Source), end;    if(iPos == end)       std::cout << "File not found!" << std::endl;    else       while(iPos != end)          // insert identifier and read next one          Identifier_list.push_back(*iPos++);    // output    std::list<Identifier>::const_iterator I = Identifier_list.begin();    while(I != Identifier_list.end())         std::cout << *I++ << std::endl;}

⌨️ 快捷键说明

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