Skip to content

Commit

Permalink
Update main.cpp
Browse files Browse the repository at this point in the history
use English
  • Loading branch information
huihut authored Dec 16, 2020
1 parent 4252d8e commit d7e235a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions DesignPattern/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,32 +11,32 @@

int main() {
std::cout << "*******************" << std::endl;
std::cout << "** ���ģʽ���� **" << std::endl;
std::cout << "** Design pattern example **" << std::endl;
std::cout << "*******************" << std::endl;

std::cout << "*******************" << std::endl;
std::cout << "** ����ģʽ **" << std::endl;
std::cout << "** Singleton mode **" << std::endl;
std::cout << "*******************" << std::endl;
SingletonMain();

std::cout << "*******************" << std::endl;
std::cout << "** ���󹤳�ģʽ **" << std::endl;
std::cout << "** Abstract factory pattern **" << std::endl;
std::cout << "*******************" << std::endl;
FactoryMain();

std::cout << "*******************" << std::endl;
std::cout << "** ������ģʽ **" << std::endl;
std::cout << "** Adapter mode **" << std::endl;
std::cout << "*******************" << std::endl;
AdapterMain();

std::cout << "*******************" << std::endl;
std::cout << "** �Ž�ģʽ **" << std::endl;
std::cout << "** Bridge mode **" << std::endl;
std::cout << "*******************" << std::endl;

std::cout << "*******************" << std::endl;
std::cout << "** �۲���ģʽ **" << std::endl;
std::cout << "** Observer mode **" << std::endl;
std::cout << "*******************" << std::endl;
ObserverMain();

return 0;
}
}

0 comments on commit d7e235a

Please sign in to comment.