C ++中的反斜杠是什么意思? [英] What does a backslash in C++ mean?

查看:243
本文介绍了C ++中的反斜杠是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

此代码是什么:(特别是,反斜杠'\'?)

What does this code: (especially, what does a backslash '\' ? )

s23_foo += \ 
s8_foo * s16_bar;

我添加了数据类型,因为它们可能是相关的。
感谢您的帮助。

I added the datatypes, because they might be relevant. Thanks for your help.

推荐答案

它让你继续一个语句到下一行 - 通常你只需要它在#define宏块

It lets you continue a statement onto the next line - typically you only need it inside a #define macro block

这篇关于C ++中的反斜杠是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆