CSDN首页 空间 新闻 论坛 Blog 下载 读书 网摘 搜索 .NET Java 视频 接项目 求职 在线学习 买书 程序员 通知
IBM Rational 系统开发最佳实践工具包 WebSphere MQ 最佳实践 TOP 15
CSDN社区
搜索 收藏 打印 关闭
CSDN社区 >  C/C++ >  C++ 语言

need help

楼主lyemail1979113(xxxxx)2006-03-04 16:51:29 在 C/C++ / C++ 语言 提问

#include   "vg.h"                     //   Required   for   the   standard   Vega   classes    
  #include   "pf.h"                     //   Required   for   the   standard   Performer   classes  
   
   
     
   
     
   
  void  
   
  cycleNextpfSwitch(   pfSwitch   *swNode   ){  
   
  //   #######################################################  
   
  //   #    
   
  //   #     Public   function  
   
  //   #    
   
  //   #     Cycle   through   the   passed   pfSwitch's   children   or   the  
   
  //   #     Multigen   creator   masks   settings  
   
  //   #  
   
  //   ########################################################  
   
     
   
     
   
          //    
   
          //   Sanity   check   we   need   a   pointer    
   
          //    
   
          if(   swNode   ==   NULL   )  
   
                  return;  
   
     
   
           
   
          //    
   
          //   Get   the   current   child   node   or   switch   mask   index  
   
          //    
   
          int   value   =   pfGetSwitchVal(   swNode   );  
   
     
   
     
   
          //    
   
          //   Calculate   the   next   child   node   or   switch   mask   index   to   display  
   
          //    
   
          int   vchld   =   ((value   >=   pfGetNumChildren(swNode)-1)   ||   (value   <   0))   ?   0   :   value+1;  
   
     
   
     
   
          //    
   
          //   Display   the   next   child   node   or   switch   mask  
   
          //    
   
          pfSwitchVal(   swNode,   vchld   );  
   
     
   
     
   
  }   //   cycleNextpfSwitch  
   
    --------------------Configuration:   1   -   Win32   Debug--------------------  
  Compiling...  
  1.c  
  Will   automatically   link   with   psVgD.lib  
  c:\documents   and   settings\dzjs\桌面\1\jlu.h(27)   :   fatal   error   C1189:   #error   :     you   must   define   the   /MD   or   /MDd   compiler   flag.   On   the   Visual   C++   compiler   this   is   the   "Multithreaded   DLL"   or   "Debug   Multithreaded   DLL"   run-time   library   option.  
  Error   executing   cl.exe.  
   
  1.exe   -   1   error(s),   0   warning(s)  
  我在vc->project->setting->c/c++面板中,category选择Code   Generation,然后在Use   run-time   library中选择带Multithreaded的选项  
  Compiling...  
  1.c  
  Will   automatically   link   with   psVgD.lib  
  c:\documents   and   settings\dzjs\桌面\1\jlu.h(27)   :   fatal   error   C1189:   #error   :     you   must   define   the   /MD   or   /MDd   compiler   flag.   On   the   Visual   C++   compiler   this   is   the   "Multithreaded   DLL"   or   "Debug   Multithreaded   DLL"   run-time   library   option.  
  Error   executing   cl.exe.  
   
  1.exe   -   1   error(s),   0   warning(s)  
   
  还通不过,为甚,请制教  
   
   
   
   
   
   
   
   
  问题点数:20、回复次数:2Top

1 楼xiaocai0001(高楼目尽欲黄昏/梧桐叶上萧萧雨)回复于 2006-03-04 18:42:14 得分 0

有必要把代码弄得那么散散拉拉的么?Top

2 楼ugg(逸学堂(exuetang.net))回复于 2006-03-04 21:54:47 得分 0

On   the   Visual   C++   compiler   this   is   the   "Multithreaded   DLL"   or   "Debug   Multithreaded   DLL"   run-time   library   option  
  ~~~~~~~  
  开启RTTI  
  我在vc->project->setting->c/c++->语言,启动运行时刻识别  
  Top

相关问题

  • Need help
  • need help!!!!!!
  • need help
  • need u help
  • I need your help!
  • I NEED HELP
  • I need help!
  • I need your help
  • need help!急!
  • ++ I need your help,thanks!++

关键词

  • c/c++
  • visual c++
  • dll
  • swnode
  • mask
  • compiler
  • multithreaded dll
  • time library
  • run
  • error

得分解答快速导航

  • 帖主:lyemail1979113

相关链接

  • C/C++ Blog
  • C/C++类图书
  • C/C++类源码下载

广告也精彩

反馈

请通过下述方式给我们反馈
反馈
提问
网站简介|广告服务|VIP资费标准|银行汇款帐号|网站地图|帮助|联系方式|诚聘英才|English|问题报告
北京创新乐知广告有限公司 版权所有, 京 ICP 证 070598 号
世纪乐知(北京)网络技术有限公司 提供技术支持
Copyright © 2000-2008, CSDN.NET, All Rights Reserved
GongshangLogo