?? main.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 + -