## 基础配置 #### 1.编码及输出 ```cpp #if WIN32 system("chcp 65001"); setbuf(stdout, NULL);//解决Clion内置控制台debug时不显示打印的问题 #endif ``` --- ## 字符串检查函数 ![[Pasted image 20250213092216.png]] --- ## 异常 ![[Pasted image 20250213171955.png]] ---