2008年7月20日

     摘要: 开始想在想把一个char变成string
但是没有找到合适的方法,不过在网上看到其实它的解决方式
char ch = LastCode[4];// LastCode[4]表示一个字符数组中的一个字符
string lastChar;
lastChar.insert(lastChar.begin(), ch );
  阅读全文

posted @ 2008-07-20 14:12 RichardHe 阅读(169) | 评论 (1)编辑 收藏


posts - 94, comments - 138, trackbacks - 0, articles - 94

Copyright © RichardHe