C++语言开发示例:14. 原始字符串

2024-07-11 10:43:42 2025-02-01 20:24:39 李腾 24 次阅读 0 次点赞

rawstring.cpp

#include <iostream>

int main()
{
    using namespace std;
    cout << R"(Jim "King" Tutt uses "\n" instead of endl.)" << '\n';
    cout << R"+*("(Who wouldn't?)", she whispered.)+*" << endl;
}
本文由人工编写,AI优化,请仔细甄别,转载请注明转自www.hylab.cn,原文地址:C++语言开发示例:14. 原始字符串

评论 (0)

登录后发表评论

暂无评论,快来发表第一条评论吧!