当前位置:网站首页>Common operations in Visual Studio development
Common operations in Visual Studio development
2022-06-22 15:15:00 【Ton ton does not fight wild】
List of articles
The following are based on visual studio2017 Conduct
1. Interface settings
1.1 Font size
Tools -> Options

And then in Environmental Science -> Font and color ,
- The default font is
Chinese XXX, I'm usually used to itconsolas, - there Consolas Represents an equal width font , It doesn't mean to widen

2. Problems in the development process
2.1 Multiple cpp Only run where 1 individual
- In a normal project , Even if there are multiple cpp file , There can only be 1 individual cpp In file
mainfunction , Otherwise you will report an error - The project is run from main() The function starts with ,main() In which CPP In file , Run from this CPP Of documents main() Start .
- If you want to run one by one cpp file , Please create multiple projects , Or exclude the previous one from the project main Function file ( Right click on the file —— Exclude... From the project , This operation will not delete the file , Just exclude the file from the current project .), Add next contains main Function file .
Reference resources
- One VS There are more than one CPP file , How to specify to run a CPP?
- consult How to run with multiple cpp One of the c++ One of the projects cpp
3. Error reporting solution
3.1 error C1128
3.1.1 Error resolution
according to /bigobj (Increase Number of Sections in .Obj file)

Project solutions -> Right click , Click properties -> C/C+±> Command line -> The other options -> Join in :/bigobj-> Click application 
Reference resources :
- Microsoft documentation : error C1128
3.1.2 The reason for the error
Reference resources :vs2017 Debug error :Error:C1128 The number of sections exceeds the object file format limit : Please use /bigobj Compile
The addressing of the object file exceeds 2^16=65536, So we need to use /bigobj Increase the address capacity to 2^32=4;
边栏推荐
- keil MDK 中使用虚拟串口调试串口
- 晒晒我这两年的私活单,业余时间月入6k,有份副业也太香啦
- U++ iterative Sorting Query learning notes
- 历时100天、小鱼搭建了个机器人交流社区!!现公开邀请版主中!
- What does Alibaba cloud's cipu release mean for enterprise customers?
- After 17 years, Liu Yifei became popular again: ordinary people don't want to be eliminated, but they also need to understand this
- Fight, programmer -- Chapter 42 will draw a bow like a full moon, look northwest and shoot Sirius
- Verilog使用inout信号的方法
- Good wind relies on strength – code conversion practice of accelerating SQL Server Migration with babelfish
- U++编程 数组学习笔记
猜你喜欢

Good wind relies on strength – code conversion practice of accelerating SQL Server Migration with babelfish

拜登簽署兩項旨在加强政府網絡安全的新法案

数据库连接池:连接池功能点的实现
![[live broadcast review] battle code pioneer phase VI: build a test subsystem and empower developers to provide](/img/46/d36ae47c3d44565d695e8ca7f34980.jpg)
[live broadcast review] battle code pioneer phase VI: build a test subsystem and empower developers to provide
![Front and back management system of dessert beverage store based on SSM framework dessert mall cake store [source code + database]](/img/1b/9060d58d4dbb7f6f3c3a58959b7f14.png)
Front and back management system of dessert beverage store based on SSM framework dessert mall cake store [source code + database]

No wonder the postgraduate entrance examination is so hot. These are the "hidden benefits" of Postgraduates!

大会倒计时 | 亚马逊云科技创新大会邀您一起构建AI新引擎 !

曾经,我同时兼职5份工作,只为给女友买个新款耳环......

Driving the efficient growth of the manufacturing industry, UFIDA u9 cloud is constantly improving the password behind it

Data collection: skillfully using Bloom filter to extract data summary
随机推荐
We will resolutely fight and win the hard battle of flood control and disaster relief and spare no effort to ensure the safety of people's lives and property
同花顺开户难么?网上开户安全么?
What are strong and weak symbols in embedded systems?
Biden signs two new laws aimed at strengthening government cyber security
Closure of groovy
网站存在的价值是什么?为什么要搭建独立站
2022oracle数据库安装及使用
好风凭借力 – 使用Babelfish 加速迁移 SQL Server 的代码转换实践
世界上所有的知名网络平台
[Zhejiang University] information sharing of the first and second postgraduate entrance examinations
难怪考研热度这么高,这些是研究生才有的“隐藏福利”!
Front and back management system of dessert beverage store based on SSM framework dessert mall cake store [source code + database]
阿里云发布CIPU,对于企业客户意味着什么?
[Software Engineering] acquire requirements
No wonder the postgraduate entrance examination is so hot. These are the "hidden benefits" of Postgraduates!
Error: Unable to find a match: lrzsz的解决方法
那些令人懵逼的用户态&内核态
专业“搬砖”老司机总结的 12 条 SQL 优化方案,非常实用!
U++编程 数组学习笔记
Struggle, programmer chapter 50: a bosom friend in the sea