随笔分类 - Visual Studio
摘要:Tools->Options->Text Editor->C/C++->Tabs->Insert spaces/Keep tabs
阅读全文
摘要:四个空格和一个制表符光靠肉眼容易分辨么? 绝对不能~! 开启这个功能有两种方式: 使用菜单, 打开Edit–> Advanced–> View White Space 使用键盘的快捷键, 按下Ctrl+R, 然后按Ctrl+W. 设置一个tab的缩进空格数:
阅读全文
摘要:https://marketplace.visualstudio.com/items?itemName=vsdbgplat.MicrosoftChildProcessDebuggingPowerTool 用法: 设有进程parent,进程child,parent先启动,并会启动child进程。 打开
阅读全文
摘要:编辑 → 查找和替换 → 在文件中的查找,打开查找窗口 填入正则表达式 ^b*[^:b#/]+.*$ 查找范围选“整个解决方案”,勾选上“使用正则表达式” 如果要限制文件类型,就填上要查找的文件类型,然后点击查找全部即可。 https://www.cnblogs.com/nicopoiduang/p
阅读全文
摘要:工程--属性--c/c++ 所有选项--c++语言标准
阅读全文
摘要:我们在visual studio的属性界面中经常看到$(SolutionDir)、$(Configuration)、$(ProjectName)等宏,可以通过以下sao操作查看: ref: https://blog.csdn.net/caoshangpa/article/details/536715
阅读全文
摘要:Reason1: 原因是当前工程是Debug/Release版本,而引用的库文件时Release/Debug版本,只需要把当前的Debug/Release模式改成Release/Debug模式就可以了,或者打开解决方案--》属性--》链接器--》输入--》附加依赖项中引用debug版本的lib文件名
阅读全文
摘要:如果你写的main函数接受入参int main(int argc, char* argv[]),则可以 右键工程--属性--调试,在命令行参数中输入入参即可,这些字符串会被直接传递给exe.
阅读全文
摘要:1. 该博客介绍了pdb文件的概念,作用。 将该博文复制到最后了。 https://devblogs.microsoft.com/devops/understanding-symbol-files-and-visual-studios-symbol-settings/ 2. MicroSoft vi
阅读全文
摘要:https://blog.csdn.net/Mrfive555/article/details/83473282
阅读全文
摘要:1) 自动代码对齐: ctrl + K + F 2)回退光标位置 3) 4)
阅读全文
摘要:https://docs.microsoft.com/zh-cn/cpp/error-messages/tool-errors/linker-tools-error-lnk2019?f1url=https%3A%2F%2Fmsdn.microsoft.com%2Fquery%2Fdev15.quer
阅读全文
摘要:https://www.cnblogs.com/kuangke/p/9621607.html https://docs.microsoft.com/en-us/cpp/build/reference/gm-enable-minimal-rebuild?view=vs-2017
阅读全文
摘要:官方档案: https://docs.microsoft.com/en-us/visualstudio/get-started/visual-studio-ide?view=vs-2019
阅读全文
摘要:https://docs.microsoft.com/zh-tw/cpp/build/dlls-in-visual-cpp?view=vs-2019 Walkthrough: Create and use your own Dynamic Link Library (C++) ::https://d
阅读全文
摘要:https://jenkins.io/
阅读全文