当前位置:网站首页>Solve the compilation problem of "c2001: line breaks in constants"
Solve the compilation problem of "c2001: line breaks in constants"
2022-07-06 04:12:00 【sanqima】
use Virsual Studio When compiling code , Sometimes there will be "C2001: Line breaks in constants " problem , The reason for this phenomenon is that the current code is "UTF-8 No BOM", To be converted into "UTF-8 belt BOM" Type is compiled OK. Click on VS On the menu bar 【 file 】–》 senior --》 Choose "UTF-8 belt BOM" --》OK, Pictured (1)、 chart (2) Shown .


Here is a batch to UTF-8 Source code , add to BOM Tools for :UltraCodingSwitch.exe, such as , To give source\i18n\ Under folder *.cpp、*.h file , All plus BOM.
1 Batch to .cpp File plus BOM

2 Batch to .h File plus BOM

reference
边栏推荐
- Explain in simple terms node template parsing error escape is not a function
- 20、 EEPROM memory (AT24C02) (similar to AD)
- 2/13 qaq~~ greed + binary prefix sum + number theory (find the greatest common factor of multiple numbers)
- MySQL about self growth
- pd. to_ numeric
- ESP32(基于Arduino)连接EMQX的Mqtt服务器上传信息与命令控制
- Scalpel like analysis of JVM -- this article takes you to peek into the secrets of JVM
- Python book learning notes - Chapter 09 section 01 create and use classes
- VNCTF2022 WriteUp
- Global and Chinese markets for MRI safe implants 2022-2028: technology, participants, trends, market size and share Research Report
猜你喜欢

DM8 backup set deletion
![Mlapi series - 04 - network variables and network serialization [network synchronization]](/img/fc/aebbad5295481788de5c1fdb432a77.jpg)
Mlapi series - 04 - network variables and network serialization [network synchronization]

Stack and queue

How does technology have the ability to solve problems perfectly

Database, relational database and NoSQL non relational database

Chinese brand hybrid technology: there is no best technical route, only better products

Yyds dry goods inventory web components series (VII) -- life cycle of custom components

Redis (replicate dictionary server) cache

How to modify field constraints (type, default, null, etc.) in a table

Basic use of MySQL (it is recommended to read and recite the content)
随机推荐
Hashcode and equals
Tips for using dm8huge table
Ipv4中的A 、B、C类网络及子网掩码
记一次excel XXE漏洞
How to modify field constraints (type, default, null, etc.) in a table
Determine which week of the month the day is
One question per day (Mathematics)
Data processing methods - smote series and adasyn
Solution to the problem that the root account of MySQL database cannot be logged in remotely
MySQL learning record 13 database connection pool, pooling technology, DBCP, c3p0
Basic knowledge of binary tree, BFC, DFS
判断当天是当月的第几周
Facebook等大廠超十億用戶數據遭泄露,早該關注DID了
2/12 didn't learn anything
Conditionally [jsonignore]
Query the number and size of records in each table in MySQL database
Record the pit of NETCORE's memory surge
Network security - Security Service Engineer - detailed summary of skill manual (it is recommended to learn and collect)
10個 Istio 流量管理 最常用的例子,你知道幾個?
User datagram protocol UDP