蘭雅sRGB 6a61c41f84 C语言自行实现_strlen_strcpy_strcat和RV汇编代码学习 | 3 months ago | |
---|---|---|
base | 10 months ago | |
examples | 1 year ago | |
img | 4 months ago | |
libc | 3 months ago | |
tools | 4 months ago | |
01.mysort.cpp | 1 year ago | |
README.md | 4 months ago | |
cpp.json | 11 months ago | |
keybindings.json | 4 months ago | |
settings.json | 4 months ago |
C/C++零基础入门 系列教程 不懂英文 从零开始
https://wwcz.lanzout.com/b01urh63a 密码:7q5c
算法动画图解_中文欢乐版.apk
视频右侧的 算法动画图解 程序MSVC2015Mini.7z
视频中 VSCODE 调用的 C/C++ 编译器https://wwm.lanzout.com/b0r9anaqb 密码:1diw
MSVC2022_X64_mini.7z
压缩包解压到任意目录下, 推荐 C:\MSVC2022配置环境变量,添加参考如下
INCLUDE=C:\MSVC2022\include
LIB=C:\MSVC2022\lib
Path=C:\MSVC2022\bin;%PATH%
配置 CodeRunner
修改配置文件 settings.json
, 给 cl.exe
添加参数 UTF-8 编码、不显示警告、编译优化、链接库等参数
"cpp": "cd $dir && cl.exe /utf-8 /nologo /w /EHsc /Ox /DNDEBUG /MD $fileName /link rpcrt4.lib msvcrt.lib shell32.lib user32.lib && $dir$fileNameWithoutExt",
"c": "cd $dir && cl.exe /utf-8 /nologo /w /EHsc /Ox /DNDEBUG /MD $fileName /link rpcrt4.lib msvcrt.lib shell32.lib user32.lib && $dir$fileNameWithoutExt"
设置 PowerShell 的默认输出编码为 UTF-8:
[Console]::OutputEncoding = [System.Text.Encoding]::UTF8