首页 | 本学科首页   官方微博 | 高级检索  
相似文献
 共查询到20条相似文献,搜索用时 546 毫秒
1.
对运算符重载教学和编程中常见的、易被忽视的问题进行了深入探讨和分析,并给出了有效的解决方法。对运算符重载时如何考虑用户使用习惯、使用的方便性和继承性也作了阐述。  相似文献   

2.
李艳 《科技信息》2010,(33):I0096-I0096,I0122
从几个运算符重载的设计出发,对设计的主要方法进行了讨论。澄清了运算符重载设计中对一些问题的模糊认识,对教学有借鉴和参考价值。  相似文献   

3.
在研究.NET框架的内核、CLS规范和运算符重载的实质功能的基础上,运用面向对象技术,提出基于.NET的具有精确运算、支持运算符计算和跨语言调用能力的大整数类BigInteger的设计方案,并用C#语言实现.  相似文献   

4.
自增自减是C语言运算符里比较有特色的运算符,也是在使用时最容易出错的运算符.结合教学和使用经验对Turbo C 2.0中的自增自减运算符进行研究,根据自增自减运算符的特点和不同使用形式,剖析自增自减运算符的使用规则,总结各种解题技巧和使用方法,以便更好地帮助初学者学习和使用自增自减运算符.  相似文献   

5.
在C 中扩展整型类型,使该种类型定义的数据在操作上不受数据范围的限制.采用的原理是面向对象技术,用字符串存放数据,运算符重载来提供运算,并将数据和操作进行封装,以标准的接口提供服务.最终用户可以象使用基本类型一样的使用它,同时在计算机代数中广泛使用.  相似文献   

6.
C程序设计语言中提供了两个特有的运算符 ,即自增运算符 ( ++ )和自减运算符 ( - - ) ,用于对变量加 1、减 1正确理解并使用这两个运算符对于编写C程序是很重要的 .本文介绍了讲解分析TurboC程序中的自增运算符 ++和自减运算符 - -的 3种方法 ,即语句分解法、表达式独立求值法和变量存储示意图法  相似文献   

7.
C语言功能强大,运算符丰富,表达式使用灵活,在教学过程中,学生对有些运算符及表达式的使用感到困惑,出错率比较高,进而导致程序无法得出正确的结果.本文就运算符及表达式易出错的问题进行了较全面的归纳与分析.  相似文献   

8.
多态性是面向对象技术的重要特性之一,C++语言支持静态多态性和动态多态性.静态多态性主要通过函数重载和运算符重载来实现,动态多态性主要通过虚函数和动态联编来实现.多态性使程序设计更加灵活、易维护和易扩展.介绍了动态多态性在C++语言中的实现机制,提出基于容器的动态多态性实现技术,结合VC++6.0中绘图软件开发实例,描述基于容器的绘图过程及动态多态性应用.  相似文献   

9.
"&"运算符是C/C++语言中使用比较灵活的运算符之一,根据使用功能和在上下文中的含义详细阐述其用法.  相似文献   

10.
施炜 《科技资讯》2007,(35):199-200
在C语言中,经常使用 /--运算符,它使用灵活,不容易掌握.本文结合实例归纳了 /--运算符在解题过程中常碰到的七个方面的应用,是对教材的补充,既有利于教师的教学,也有利于同学的自学.  相似文献   

11.
Language markedness is a common phenomenon in languages, and is reflected from hearing, vision and sense, i.e. the variation in the three aspects such as phonology, morphology and semantics. This paper focuses on the interpretation of markedness in language use following the three perspectives, i.e. pragmatic interpretation, psychological interpretation and cognitive interpretation, with an aim to define the function of markedness.  相似文献   

12.
何延凌 《科技信息》2008,(4):258-258
Language is a means of verbal communication. People use language to communicate with each other. In the society, no two speakers are exactly alike in the way of speaking. Some differences are due to age, gender, statue and personality. Above all, gender is one of the obvious reasons. The writer of this paper tries to describe the features of women's language from these perspectives: pronunciation, intonation, diction, subjects, grammar and discourse. From the discussion of the features of women's language, more attention should be paid to language use in social context. What's more, the linguistic phenomena in a speaking community can be understood more thoroughly.  相似文献   

13.
理论推导与室内实验相结合,建立了低渗透非均质砂岩油藏启动压力梯度确定方法。首先借助油藏流场与电场相似的原理,推导了非均质砂岩油藏启动压力梯度计算公式。其次基于稳定流实验方法,建立了非均质砂岩油藏启动压力梯度测试方法。结果表明:低渗透非均质砂岩油藏的启动压力梯度确定遵循两个等效原则。平面非均质油藏的启动压力梯度等于各级渗透率段的启动压力梯度关于长度的加权平均;纵向非均质油藏的启动压力梯度等于各渗透率层的启动压力梯度关于渗透率与渗流面积乘积的加权平均。研究成果可用于有效指导低渗透非均质砂岩油藏的合理井距确定,促进该类油藏的高效开发。  相似文献   

14.
As an American modern novelist who were famous in the literary world, Hemingway was not a person who always followed the trend but a sharp observer. At the same time, he was a tragedy maestro, he paid great attention on existence, fate and end-result. The dramatis personae's tragedy of his works was an extreme limit by all means tragedy on the meaning of fearless challenge that failed. The beauty of tragedy was not produced on the destruction of life, but now this kind of value was in the impact activity. They performed for the reader about the tragedy on challenging for the limit and the death.  相似文献   

15.
正The periodicity of the elements and the non-reactivity of the inner-shell electrons are two related principles of chemistry,rooted in the atomic shell structure.Within compounds,Group I elements,for example,invariably assume the+1 oxidation state,and their chemical properties differ completely from those of the p-block elements.These general rules govern our understanding of chemical structures and reactions.Using first principles calcula-  相似文献   

16.
We have developed an adiabatic connection to formulate the ground-state exchange-correlation energy in terms of pairing matrix linear fluctuations.This formulation of the exchange-correlation energy opens a new channel for density functional approximations based on the many-body perturbation theory.We illustrate the potential of such approaches with an approximation based on the particle-particle Random Phase Approximation(pp-RPA).This re-  相似文献   

17.
正The electronic and nuclear(structural/vibrational)response of 1D-3D nanoscale systems to electric fields gives rise to a host of optical,mechanical,spectral,etc.properties that are of high theoretical and applied interest.Due to the computational difficulty of treating such large systems it is convenient to model them as infinite and periodic(at least,in first approximation).The fundamental theoretical/computational problem in doing so is that  相似文献   

18.
For molecular systems,the quantum-mechanical treatment of their responses to static electromagnetic fields usually employs a scalar-potential treatment of the electric field and a vector-potential treatment of the magnetic field.Although the potential for each field separately is associated with the choice of an(unphysical)origin,the precise choice of the origin for the electrostatic field has little consequences for the results.This is different for the  相似文献   

19.
<正>"The Journal of Shanghai Normal University:Mathematics"is published by Shanghai Normal University as regular issues of The Journal of Shanghai Normal University each year from 2014 in English.The editors-in-chief of the issues are professors Yuhao Cong and Maoan Han.The Journal of Shanghai Normal University was started in 1958 with  相似文献   

20.
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号