From 0f1a2fb73a564bcbfe1f6a0948b4d332f59e8a73 Mon Sep 17 00:00:00 2001 From: shangfengh <3495281661@qq.com> Date: Sat, 22 Apr 2023 23:27:53 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20:memo:=20edit=20=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CAPI/cpp/API/src/AI.cpp | 1 + docs/使用文档.md | 3 +++ 2 files changed, 4 insertions(+) diff --git a/CAPI/cpp/API/src/AI.cpp b/CAPI/cpp/API/src/AI.cpp index 0caf5ff..2709e2e 100644 --- a/CAPI/cpp/API/src/AI.cpp +++ b/CAPI/cpp/API/src/AI.cpp @@ -3,6 +3,7 @@ #include #include "AI.h" #include "constants.h" +//注意不要使用conio.h,Windows.h等非标准库 // 为假则play()期间确保游戏状态不更新,为真则只保证游戏状态在调用相关方法时不更新 extern const bool asynchronous = false; diff --git a/docs/使用文档.md b/docs/使用文档.md index 908dd81..3782837 100644 --- a/docs/使用文档.md +++ b/docs/使用文档.md @@ -3,6 +3,9 @@ 本文档仅供Windows选手参考,Linux,macOS选手仿照本文档即可。 [TOC] +## 不应当使用Windows特性的库,不建议使用.h结尾的库,建议使用标准库 +- 不要使用conio.h,Windows.h + ## C++接口使用说明 - Windows:先查看`.\win\CAPI\cpp\`文件夹下是否有`lib`文件夹,没有则https://cloud.tsinghua.edu.cn/d/6972138f641d4e81a446/ 下载并复制粘贴