我想在 C++ 中多行编写一个变量。更准确地说是在 WINAPI 中。
类似于:(如果 \ 是执行此操作的命令,)
str=" This is a sample file trying to write multiple lines. \n but it is not same as line break. \
I am defining the same string over several lines. This is different from using backslash n. \
This is not supposed to print multipline in screen or in write file or on windows display. This\
is for ease of programming.";
问题是我得到了“|||” 无论我在代码中使用了 \ 。我不希望它出现。我该怎么办?