当前位置:网站首页>16. [assignment of string ends with semicolon]
16. [assignment of string ends with semicolon]
2022-07-21 20:41:00 【Li is struggling】
【 Escape character \, Go to the next line to continue 】
#include <iostream>
using namespace std;
void main()
{
char s1[]="ABC"
"DEF";
//********error********
char s2[]="ABC\
DEF";
//********error********
char s3[]="ABC"
"DEF";
cout<<s1<<endl;
cout<<s2<<endl;
cout<<s3<<endl;
return;
}
边栏推荐
- Running goofy group code on ROS encounters [global_planning_node-5] process has did [pid 3143, exit code -6, CMD /home/gaofei/ros
- 自学编程80余年,这些私藏的实用工具&学习网站陪我走到了现在,必须收藏,学习效率翻倍 - 网站篇
- swift 导航栏颜色设备和去掉下边缘线
- Dynamically listen for the height of DOM elements
- (good pairs) assign the value of one array to another array
- MySQL functions
- 17.【setw()函数的运用】
- $. Usage of each
- Image upload
- 受控组件和非受控组件的区别
猜你喜欢
随机推荐
Lazy loading of pictures
How to get the second child element under the first child element
oh-my-zsh 效率插件
动态监听DOM元素的高度
Deep analysis of string -- memset & memcmp
推荐一个好用的 所见即所得的 markdown 编辑器 Mark Text
Custom MVC framework implementation
visual studio第三方库添加——Eigen
[C language] choose and cycle to interpret romantic source code
点击返回按钮,返回到之前的页面
Flutter报错总结:There are multiple heroes that share the same tag within a subtree.
Luogu p1119 post disaster reconstruction (Floyd)
XML modeling
重置表单
Goodbye, everyone (although no one will notice)
为什么用快慢指针找链表的环,快指针和慢指针一定会相遇?
In depth analysis - structure
Analysis of matching data under the fourth game
useMemo和useCallback的区别以及使用场景
Optimization of image multi picture pages