当前位置:首页
开发技术指南» 文章正文
    引言:

    摘要: 谢。。 ......
 ·如何取得word文档的点阵数据    »显示摘要«
    摘要: 如何取得word文档的点阵数据,即文档中某一象素点的颜色值,请版主及各位高手指教. ......


关于template

tempalte<class   clsName>  
  int   Create(void)  
  {  
  clsName   *pClass   =   new   clsName;  
  return   0;  
  }  
   
  为什么这段代码编译成功,但运行时,出错!  
  如代码中调用次序为:  
  Create<A>();  
  Create<B>();  
  则clsName永远等于A,为什么?  
 

NO.1   作者: xzgyb

调用这样  
  nRes   =   CreateObj(   &pObject,   _clsTemplate<   CStreamObject   >()   );


    摘要: ......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE