DesignPattern/13.ProxyPattern/2.Code/main.cpp

16 lines
190 B
C++
Raw Normal View History

2019-10-29 14:14:19 +00:00
#include <iostream>
#include "ProxyPattern.h"
int main()
{
Subject *subject;
subject = new Proxy();
subject->method();
printf("\n\n");
2020-11-29 05:40:29 +00:00
delete subject;
2019-10-29 14:14:19 +00:00
system("pause");
return 0;
}