示例#1
0
文件: proxy.cpp 项目: DavidL92/Try
int main()
{
    Proxy * proxy = new Proxy();
    proxy->request();

    delete proxy;
    cout << "delete proxy" << endl;
    return 1;
}
示例#2
0
文件: proxy.cpp 项目: Rubusch/cpp
/*
  main..
//*/
int main()
{
    using namespace std;

    cout << "init..\n";
    Proxy proxy;
    cout << endl;

    cout << "call subject's request via proxy\n";
    proxy.request();
    cout << endl;

    cout << "READY.\n";
    return 0;
}