return 0;
}
[/quout]
编译错误报告如下:
[quote]D:/yzf/c/lx6.cpp:20:25: warning: multi-line string literals are deprecated
D:/yzf/c/lx6.cpp:20:25: missing terminating " character
D:/yzf/c/lx6.cpp:20:25: possible start of unterminated string literal
D:/yzf/c/lx6.cpp: In member function `void Sample::display()':
D:/yzf/c/lx6.cpp:20: parse error at end of input[/utoe]
编译错误报告如下:
[quote]D:/yzf/c/lx6.cpp:20:25: warning: multi-line string literals are deprecated
D:/yzf/c/lx6.cpp:20:25: missing terminating " character
D:/yzf/c/lx6.cpp:20:25: possible start of unterminated string literal
D:/yzf/c/lx6.cpp: In member function `void Sample::display()':
D:/yzf/c/lx6.cpp:20: parse error at end of input[/qutoe]
_________________
D:/yzf/c/lx6.cpp:20:25: warning: multi-line string literals are deprecated
D:/yzf/c/lx6.cpp:20:25: missing terminating " character
D:/yzf/c/lx6.cpp:20:25: possible start of unterminated string literal
D:/yzf/c/lx6.cpp: In member function `void Sample::display()':
D:/yzf/c/lx6.cpp:20: parse error at end of input
谢谢,我以前不知道,试一试
[code:1]D:/yzf/c/lx6.cpp:20:25: warning: multi-line string literals are deprecated
D:/yzf/c/lx6.cpp:20:25: missing terminating " character
D:/yzf/c/lx6.cpp:20:25: possible start of unterminated string literal
D:/yzf/c/lx6.cpp: In member function `void Sample::display()':
D:/yzf/c/lx6.cpp:20: parse error at end of input [/code:1]