当前位置:网站首页>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
边栏推荐
- TCP/IP协议里面的网关地址和ip地址有什么区别?
- 80% of the diseases are caused by bad living habits. There are eight common bad habits, which are both physical and mental
- Record the pit of NETCORE's memory surge
- The global and Chinese market of negative pressure wound therapy unit (npwtu) 2022-2028: Research Report on technology, participants, trends, market size and share
- hashlimit速率控制
- Simple blog system
- Mlapi series - 04 - network variables and network serialization [network synchronization]
- Pandora IOT development board learning (HAL Library) - Experiment 9 PWM output experiment (learning notes)
- 综合能力测评系统
- Execution order of scripts bound to game objects
猜你喜欢
查询mysql数据库中各表记录数大小
【FPGA教程案例11】基于vivado核的除法器设计与实现
[disassembly] a visual air fryer. By the way, analyze the internal circuit
The Research Report "2022 RPA supplier strength matrix analysis of China's banking industry" was officially launched
10個 Istio 流量管理 最常用的例子,你知道幾個?
Query the number and size of records in each table in MySQL database
Database, relational database and NoSQL non relational database
【可调延时网络】基于FPGA的可调延时网络系统verilog开发
MySQL learning record 13 database connection pool, pooling technology, DBCP, c3p0
食品行业仓储条码管理系统解决方案
随机推荐
MySQL transaction isolation level
Path of class file generated by idea compiling JSP page
综合能力测评系统
STC8H开发(十二): I2C驱动AT24C08,AT24C32系列EEPROM存储
Développement d'un module d'élimination des bavardages à clé basé sur la FPGA
hashlimit速率控制
Tips for using dm8huge table
[tomato assistant installation]
Yyds dry goods inventory web components series (VII) -- life cycle of custom components
[disassembly] a visual air fryer. By the way, analyze the internal circuit
Mlapi series - 04 - network variables and network serialization [network synchronization]
Plus d'un milliard d'utilisateurs de grandes entreprises comme Facebook ont été compromis, il est temps de se concentrer sur le did
POI add border
Viewing and verifying backup sets using dmrman
Error 1045 (28000): access denied for user 'root' @ 'localhost' (using password: no/yes
Chinese brand hybrid technology: there is no best technical route, only better products
PTA tiantisai l1-078 teacher Ji's return (15 points) detailed explanation
Practical development of member management applet 06 introduction to life cycle function and user-defined method
Basic knowledge of binary tree, BFC, DFS
Explain in simple terms node template parsing error escape is not a function