将一个字符数组转换成一个字符串

例:char buf[100] = "Hello World!";

     csting str;

     str = buf;//此时str = "Hello World!";

posted on 2015-12-23 15:48  !!-阳光-!!  阅读(1073)  评论(0编辑  收藏  举报

导航