Multiline strings in C/C++

By Dag, on December 30th, 2016

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);