printf("%c Trying to forget someone you love is like trying to remember someone you never knew \n\n",3);
變得像在vb.net:如何在此C代碼中創建新行?
printf("%c Trying to forget someone you love is like trying to" &
"remember someone you never knew \n\n",3);
我們添加下一個串上新的生產線....如何在C語言中的字符串連接。
只是忽略了&符。兩個並置的字符串文字將成爲一個。 (雖然這不會打印換行符,並將「粘貼到」和「記住」在您的案例中)。 – 2014-09-22 05:40:01
另請參閱[這裏](http://stackoverflow.com/questions/797318/how-to-split -a-string-literal-across-multiple-lines-in-c-objective-c)以獲得更詳細的答案,這也給出了另一種選擇。 – 2014-09-22 05:43:12
謝謝!我是C新手... – user3658777 2014-09-22 05:44:28