constructorsclass内一类特别的memberfunction其特性.pptVIP

  • 3
  • 0
  • 约8千字
  • 约 18页
  • 2018-05-10 发布于天津
  • 举报

constructorsclass内一类特别的memberfunction其特性.ppt

constructorsclass内一类特别的memberfunction其特性

C++ Overview 1999 amendment to c99 C with class Important concepts of C++ Function overload: different function using same function name. Enhance struct ? class (accept as a new type) Three access levels, (define friends of the class) Constructors (with function overload), Allow functions to be class members, Adopt operator as a class member function, Inheritance (layered) class structure. Implicit function overlaod: template. Use namespace: prefix to functions and classes. Function pass by reference (additional to value address) Using namespace old compiler #include iostream.h New comp

文档评论(0)

1亿VIP精品文档

相关文档