0
我想在C++的幾行中編寫單個變量。更確切地說在WINAPI中。在C++中使用多行的相同命令
喜歡的東西:(如果\是做它的命令,)
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.";
這樣做的問題是,我得到了「|||」無論我在代碼中使用\。我不想讓它出現。 我該怎麼辦?
是的!我無法刪除它。但你們可以關閉它。請這樣做! – user2178841