当前位置:网站首页>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
边栏推荐
- MySQL learning record 13 database connection pool, pooling technology, DBCP, c3p0
- Global and Chinese markets for medical gas manifolds 2022-2028: Research Report on technology, participants, trends, market size and share
- TCP/IP协议里面的网关地址和ip地址有什么区别?
- Record the pit of NETCORE's memory surge
- Custom event of C (31)
- 1291_Xshell日志中增加时间戳的功能
- Lombok原理和同时使⽤@Data和@Builder 的坑
- Slow SQL fetching and analysis of MySQL database
- 《2022年中国银行业RPA供应商实力矩阵分析》研究报告正式启动
- [disassembly] a visual air fryer. By the way, analyze the internal circuit
猜你喜欢

Deep learning framework installation (tensorflow & pytorch & paddlepaddle)

Mysql数据库慢sql抓取与分析

Stc8h development (XII): I2C drive AT24C08, at24c32 series EEPROM storage

Figure application details

Fundamentals of SQL database operation

Solution of storage bar code management system in food industry

How to solve the problem of slow downloading from foreign NPM official servers—— Teach you two ways to switch to Taobao NPM image server

Stack and queue

One question per day (Mathematics)

Facebook等大廠超十億用戶數據遭泄露,早該關注DID了
随机推荐
Record the pit of NETCORE's memory surge
Practical development of member management applet 06 introduction to life cycle function and user-defined method
Mlapi series - 04 - network variables and network serialization [network synchronization]
[FPGA tutorial case 11] design and implementation of divider based on vivado core
Simple blog system
Global and Chinese market of plasma separator 2022-2028: Research Report on technology, participants, trends, market size and share
Mysql数据库慢sql抓取与分析
Python book learning notes - Chapter 09 section 01 create and use classes
ESP32(基于Arduino)连接EMQX的Mqtt服务器上传信息与命令控制
IDEA编译JSP页面生成的class文件路径
Basic use of MySQL (it is recommended to read and recite the content)
MySQL learning record 13 database connection pool, pooling technology, DBCP, c3p0
AcWing 243. A simple integer problem 2 (tree array interval modification interval query)
[adjustable delay network] development of FPGA based adjustable delay network system Verilog
Viewing and verifying backup sets using dmrman
C (thirty) C combobox listview TreeView
During pycharm debugging, the view is read only and pause the process to use the command line appear on the console input
1291_Xshell日志中增加时间戳的功能
Global and Chinese markets for endoscopic drying storage cabinets 2022-2028: Research Report on technology, participants, trends, market size and share
[FPGA tutorial case 12] design and implementation of complex multiplier based on vivado core