检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]郑州大学物理工程学院,郑州450001 [2]华北水利水电大学机械学院,郑州450045
出 处:《中原工学院学报》2015年第1期87-90,共4页Journal of Zhongyuan University of Technology
摘 要:在VC 6.0中调用函数时,如果实际参数表达式中使用了后置自增、自减运算符,发布版的运行结果可能不同于调试版的预期。本文在分析问题构成条件的基础上,选择编写Add-in类型的程序来发现这种问题并提醒程序员修改源程序,并在讨论有关注意事项后列出了主要开发步骤。所开发的Add-in程序可自动分析VC 6.0活动项目中的所有源文件和头文件,检查是否存在这种问题,从而降低出现非预期结果的可能性。When developing programs with VC 6.0, if postfix increment or decrement operator is used in actual argument expression of function, the running result of release configuration may be unexpectedly differ- ent from that of debug configuration. Based on analyzing the conditions under which this kind of problem will appear, chosen Add-in to find this kind of problem for notifying the programmer to modify its program, dis- cussed some special questions in practice, and given the main steps in developing the Add-in. The Add-in can he used to analyze all source files and header files of the active project in VC 6.0 to determine if there is this kind of problems, thus the probability of producing unexpected result is reduced.
关 键 词:自增运算符 自减运算符 调试版 发行版 Add-imVC 6.0
分 类 号:TP311.52[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.49