From d7e235a560e5da8c96044837eba04116a9d5dd33 Mon Sep 17 00:00:00 2001 From: huihut Date: Wed, 16 Dec 2020 15:35:42 +0800 Subject: [PATCH] Update main.cpp use English --- DesignPattern/main.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/DesignPattern/main.cpp b/DesignPattern/main.cpp index 56ba161..cf99dec 100644 --- a/DesignPattern/main.cpp +++ b/DesignPattern/main.cpp @@ -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; -} \ No newline at end of file +}