当前位置:网站首页>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
边栏推荐
- 【leetcode】1189. Maximum number of "balloons"
- VPP性能测试
- Benefits of automated testing
- Error 1045 (28000): access denied for user 'root' @ 'localhost' (using password: no/yes
- 记一次excel XXE漏洞
- DM8 archive log file manual switching
- Yyds dry goods inventory web components series (VII) -- life cycle of custom components
- Ipv4中的A 、B、C类网络及子网掩码
- Prime protocol announces cross chain interconnection applications on moonbeam
- C mouse event and keyboard event of C (XXVIII)
猜你喜欢
Comprehensive ability evaluation system
Class A, B, C networks and subnet masks in IPv4
Redis (replicate dictionary server) cache
How does technology have the ability to solve problems perfectly
TCP/IP协议里面的网关地址和ip地址有什么区别?
20、 EEPROM memory (AT24C02) (similar to AD)
Plus d'un milliard d'utilisateurs de grandes entreprises comme Facebook ont été compromis, il est temps de se concentrer sur le did
C (XXIX) C listbox CheckedListBox Imagelist
10 exemples les plus courants de gestion du trafic istio, que savez - vous?
Database, relational database and NoSQL non relational database
随机推荐
Plus d'un milliard d'utilisateurs de grandes entreprises comme Facebook ont été compromis, il est temps de se concentrer sur le did
[adjustable delay network] development of FPGA based adjustable delay network system Verilog
Global and Chinese markets for endoscopic drying storage cabinets 2022-2028: Research Report on technology, participants, trends, market size and share
Développement d'un module d'élimination des bavardages à clé basé sur la FPGA
Global and Chinese market of plasma separator 2022-2028: Research Report on technology, participants, trends, market size and share
Mysql数据库慢sql抓取与分析
P2648 make money
【按鍵消抖】基於FPGA的按鍵消抖模塊開發
10个 Istio 流量管理 最常用的例子,你知道几个?
自动化测试的好处
51nod 1130 n factorial length V2 (Stirling approximation)
WPF effect Article 191 box selection listbox
lora网关以太网传输
PTA tiantisai l1-078 teacher Ji's return (15 points) detailed explanation
2/10 parallel search set +bfs+dfs+ shortest path +spfa queue optimization
Codeforces Round #770 (Div. 2) B. Fortune Telling
食品行业仓储条码管理系统解决方案
[Zhao Yuqiang] deploy kubernetes cluster with binary package
E. Best Pair
Facebook等大廠超十億用戶數據遭泄露,早該關注DID了