- 1、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
APS信息与计算科学专业课知识
Programming Language
1、结构体,链表
A struct in the C programming language (and many derivatives(派生类)) is a complex data type declaration that defines a physically grouped list of variables to be placed under one name in a block of memory, allowing the different variables to be accessed via a single pointer, or the struct declared name which returns the same address.
链表 link list 整数integer 小数decimal 字符character
指针pointer 节省内存save memory 不连续的discontinuous
面向过程process-oriented 条件 condition requirement
执行 carry out,execute 语句command statement
二进制文件 binary file
?
2、C++的封装性、继承性和多态性
封装 Encapsulation)就是将抽象得到的数据data)和行为manipulate)(或功能)相结合,形成一个有机的整体,也就是将数据与操作数据的源代码进行有机的结合,形成“类class)”,其中数据和函数都是类的成员。
?
多态(Polymorphism)?按字面的意思就是“多种形状”。引用Charlie Calverts对多态的描述——Delphi4 编程技术内幕”)。简单的说,就是一句话:允许将子类类型的指针赋值给父类类型的指针。多态性在Object Pascal和C++中都是通过虚函数(Virtual Function)实现的。
?
继承Inherit)是面向对象软件技术当中的一个概念。如果一个类A继承自另一个类B,就把这个A称为“B的子类”,而把B称为“A的父类”。继承可以使得子类具有父类的各种属性和方法,而不需要再次编写相同的代码。在令子类继承父类的同时,可以重新定义某些属性,并重写某些方法,即覆盖父类的原有属性和方法,使其获得与父类不同的功能。
继承是指一个对象直接使用另一对象的属性和方法。
?
C++ is object oriented,being convenient for user operation. It is different from the nature of C language characteristic is the encapsulation(封装),like a box puts function inside. The user does not need to know the internal structure of the function,as long as through the interface can realize the function call.
?
3、C++与JAVA继承的不同
Inheritance is another advantage,and it can realize multiple inheritance. Here it is also the difference from JAVA .We can not use multiple inheritance in JAVA,but can accomplish with interface.
?
4、内存泄露
The biggest difference between C++ and JAVA is memory allocation. JAVA wont cause a memory leak.
Memory leak is refers to have no memory and no release,the next part of this memory cannot reuse.
?
5、An assembly language is a low-level programming language for a computer, or other programmable device, in which there is a very strong (generally one-to-one) correspondence between th
文档评论(0)