所以我必须把长引号转成一个数组。我知道怎么用小字符串来做,但如果我有一个很长的引用,我不能指望我不知道如何处理它。如果我这样做:
char prose[] = "Two things fill the mind with ever new and increasing admiration and awe, the more often and steadily we reflect upon them: the starry heavens above me and the moral law within me. I do not seek or conjecture either of them as if they were veiled obscurities or extravagances beyond the horizon of my vision; I see them before me and connect them immediately with the consciousness of my existence.”;
我的编译器因错误而疯狂。这显然比10行字符串长。
答案 0 :(得分:1)
多数民众赞成在因为你对字符串使用了错误的引号。
使用".."
工作正常,您的结束报价与您的起始引号符号不匹配。