📄 02-5.cpp
字号:
//
// ESTL item 2, "CustomerList" example
//
#include <list>
#include <iostream>
using namespace std;
class Customer {};
class CustomerList {
private:
typedef list<Customer> CustomerContainer;
typedef CustomerContainer::iterator CCIterator;
CustomerContainer customers;
public: // limit the amount of list-specific
// ... // information visible through
}; // this interface
int main()
{
CustomerList cl;
return 0;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -