C++ examples for Data Type:string
Create raw or cooked string
#include <iostream> using namespace std; int main() /*from w w w . j a va 2s . c o m*/ { auto Cooked = "(Hello\r\nThere)"; auto Raw = R"(Hello\r\nThere)"; cout << Cooked << endl; cout << Raw << endl; }