bugfix: change character code : utf-8

master
FengJungle 2021-10-28 21:26:15 +08:00
parent 81bd28e821
commit 49bc9c8130
1 changed files with 7 additions and 7 deletions

View File

@ -6,7 +6,7 @@
#include <mutex>
using namespace std;
//Ŀ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
// 目标抽象类
class Controller
{
public:
@ -16,27 +16,27 @@ public:
private:
};
//<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>DxfParser
// 适配者类DxfParser
class DxfParser
{
public:
DxfParser(){}
void parseFile(){
printf("<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD>ȡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n");
printf("Parse dxf file\n");
}
};
//<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>PathPlanner
// 适配者类PathPlanner
class PathPlanner
{
public:
PathPlanner(){}
void calculate(){
printf("<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӹ<EFBFBD>·<EFBFBD><EFBFBD>\n");
printf("calculate path\n");
}
};
//<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Adapter
// 适配器类Adapter
class Adapter:public Controller
{
public:
@ -51,7 +51,7 @@ public:
Adapter(const Adapter& other) = delete;
Adapter& operator=(const Adapter& ) = delete;
void pathPlanning(){
printf("·<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n");
printf("pathPlanning\n");
dxfParser->parseFile();
pathPlanner->calculate();
}