String in C++ source code is different from common string. You should add quote at the start and end of a string line, replace quote inside the string with slash and quote, double slash, and add return and next line at the end of a string line. If you make some changes in the revised string, you have to iterate the above steps. Now Convert String for C++ will do the job for you to get the exact C++ string which you can just copy and paste into your CPP program directly. It also supports HTML format converting.
|