- 博客(7)
- 收藏
- 关注
原创 c++输出中文乱码的问题
修改tasks.json参考https://www.cnblogs.com/chouxianyu/p/11249810.html注意粗体字的地方{ "tasks": [ { "type": "cppbuild", "label": "C/C++: g++.exe 生成活动文件", "command": "C:\\mingw64\\bin\\g++.exe", "args": [
2021-06-02 20:24:19
293
1
原创 vscode c++一个报错的问题
Unable to start debugging. Program path '中文路径 is missing or invalid.this may occur if the process。。。造成的原因可能是cpp文件路径有中文字符,将中文改成别的字符即可。
2021-06-02 20:17:00
610
原创 async/await python 入门 极简易懂例子
Python async/await 入门理解awaitimport asyncio async def outer(): print('in outer') print('waiting for result1') result1 = await phase1() print('waiting for result2') result2 = await phase2(result1) return (result1, result2) async def phase1(
2021-04-26 00:00:32
385
原创 Linux mysql没有my.cnf文件 如何免密码登录,my.cnf文件生成
Mysql 在启动服务时会首先查看etc文件夹下面有没有my.cnf文件,/etc/my.cnf是mysql的全局设置;如果没有,我们可以新建一个my.cnf;输入以下代码:[mysqld]skip-grant-tables是的,你没有看错,只有2行,其他的配置没有写的话它会自动按默认的配置。如果你写的多了,比如在后面加上[mysqld_safe]log-error=/varaa/log/mariadb/mariadb.logpid-file=...
2020-09-05 15:00:53
990
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人