2008年8月4日

VC++2008中的unsigned short和wchar_t

摘要: typedef unsigned short XChar; typedef unsigned short Wchar; TCHAR *pStr;//定义了UNICODE宏,这里等价wchar_t,下同 XChar *pXCh; Wchar *pWch; pXCh = pWch; //ok pXChpStr = ; //illegal ... 阅读全文

posted @ 2008-08-04 16:30 阿彪 阅读(3718) 评论(0) 推荐(1) 编辑

STL知识准备: 1. C++关键字typename(转)

摘要: 问题:在下面的 template declarations(模板声明)中 class 和 typename 有什么不同? template class Widget; // uses "class" template class Widget; // uses "typename" 答案:没什么不同。在声明一个 template typ... 阅读全文

posted @ 2008-08-04 13:12 阿彪 阅读(2164) 评论(0) 推荐(0) 编辑

导航