Multiline strings in C/C++

An example of breaking up a string in Visual C++ instead of having it on a long line.

MessageBoxA(NULL, "Successfully installed in C:\\Windows\\\r\n"
	"Registry updated with hidden restart mode.\r\n\r\n"
	"You should exit this version and use the installed one instead.", "Installed", MB_OK);


This document was last updated January 18th, 2011.
Written by: Dag Jonny Nedrelid
©2007-2012 http://thronic.com


Feel free to leave a comment.
Name:
URL:
0