<2025年6月>
25262728293031
1234567
891011121314
15161718192021
22232425262728
293012345

统计

  • 随笔 - 4
  • 文章 - 0
  • 评论 - 1
  • 引用 - 0

常用链接

留言簿

随笔档案

搜索

  •  

最新评论

阅读排行榜

评论排行榜

char* string; 与 char string[]; 有何区别
char* string; 与 char string[]; 有何区别?
以下代码中:
        char pBeginPage[10] = "";
        char pEndPage[10] = "";
        itoa(aBeginPage, pBeginPage, 10);
        itoa(aEndPage, pEndPage, 10);
        temp.Append(pBeginPage);
        temp.Append(L"-");
        temp.Append(pEndPage);
pBeginPage 和 pEndPage 可以声明为 char * 类型吗?

posted on 2010-03-24 18:53 hzpfly 阅读(408) 评论(0)  编辑 收藏 引用