"Hello world\n"The type of a string constant is string.
String constants can be of any length (provided there is enough free memory available).
String constants can be concatenated by simply writing them next to each other to form larger strings:
string s = "Hello" " world\n";It is also possible to extend a string constant over more than one line by escaping the newline character with a backslash (\):
string s = "Hello \ world\n";
|Index||Copyright © 2005 CadSoft Computer GmbH|