当前位置:网站首页>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
边栏推荐
- WPF effect Article 191 box selection listbox
- Lora gateway Ethernet transmission
- Développement d'un module d'élimination des bavardages à clé basé sur la FPGA
- Slow SQL fetching and analysis of MySQL database
- 1291_Xshell日志中增加时间戳的功能
- Global and Chinese markets for patent hole oval devices 2022-2028: Research Report on technology, participants, trends, market size and share
- Global and Chinese markets for endoscopic drying storage cabinets 2022-2028: Research Report on technology, participants, trends, market size and share
- [adjustable delay network] development of FPGA based adjustable delay network system Verilog
- What is the difference between gateway address and IP address in tcp/ip protocol?
- [FPGA tutorial case 12] design and implementation of complex multiplier based on vivado core
猜你喜欢
Figure application details
[Key shake elimination] development of key shake elimination module based on FPGA
关于进程、线程、协程、同步、异步、阻塞、非阻塞、并发、并行、串行的理解
ESP32_ FreeRTOS_ Arduino_ 1_ Create task
Stable Huawei micro certification, stable Huawei cloud database service practice
Security xxE vulnerability recurrence (XXe Lab)
How to solve the problem of slow downloading from foreign NPM official servers—— Teach you two ways to switch to Taobao NPM image server
Viewing and verifying backup sets using dmrman
【按键消抖】基于FPGA的按键消抖模块开发
Lora gateway Ethernet transmission
随机推荐
食品行业仓储条码管理系统解决方案
Global and Chinese markets for patent hole oval devices 2022-2028: Research Report on technology, participants, trends, market size and share
Chinese brand hybrid technology: there is no best technical route, only better products
C (thirty) C combobox listview TreeView
PTA tiantisai l1-078 teacher Ji's return (15 points) detailed explanation
[disassembly] a visual air fryer. By the way, analyze the internal circuit
Ipv4中的A 、B、C类网络及子网掩码
题解:《单词覆盖还原》、《最长连号》、《小玉买文具》、《小玉家的电费》
颠覆你的认知?get和post请求的本质
Mlapi series - 04 - network variables and network serialization [network synchronization]
Script lifecycle
Plus d'un milliard d'utilisateurs de grandes entreprises comme Facebook ont été compromis, il est temps de se concentrer sur le did
2/12 didn't learn anything
/usr/bin/gzip: 1: ELF: not found/usr/bin/gzip: 3: : not found/usr/bin/gzip: 4: Syntax error:
Simple blog system
Error 1045 (28000): access denied for user 'root' @ 'localhost' (using password: no/yes
Benefits of automated testing
【FPGA教程案例12】基于vivado核的复数乘法器设计与实现
How many of the 10 most common examples of istio traffic management do you know?
Detailed explanation of serialization and deserialization