字符串拼接

1,+

        string video_author_level = "liukai";
        string s = video_author_level + "_1";
        cout<< s;
2,strcat
       string s = strcat(video_author_level , "_1")
posted @ 2021-04-20 17:45  刘凯_tju  阅读(32)  评论(0编辑  收藏  举报