Chinaunix首页 | 论坛 | 博客
  • 博客访问: 177164
  • 博文数量: 37
  • 博客积分: 1367
  • 博客等级: 中尉
  • 技术积分: 465
  • 用 户 组: 普通用户
  • 注册时间: 2007-06-06 17:41
文章分类

全部博文(37)

文章存档

2015年(1)

2012年(17)

2011年(10)

2010年(1)

2009年(8)

我的朋友

分类: C/C++

2009-07-13 09:52:47

Here is the example of converting TBuf8 to TBuf16 and vice versa.

TBuf8<20> temp8;
TBuf16<20> temp16;

// converting TBuf8 to TBuf16
temp8.Copy(_L8("hello world"));
temp16.Copy(temp8);

// converting TBuf16 to TBuf8
temp8.Copy(temp16);
阅读(889) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~