C++ Tips

  • dynamic storage - refers to memory allocated and deallocated during program execution using the new operator and delete operator. 
  • dynamic_cast - a C++ keyword that specifies a style of cast used with run-time type information. Using dynamic_cast one can obtain a pointer to an object of a derived class given a pointer of a base class type. If the object pointed to is not of the specified derived class, dynamic_cast will return 0. 
  • explicit - a C++ keyword used in the declaration of constructors to indicate that conversion of an initializer should not take place 
  • garbage collection - a way of automatically managing dynamic storage such that explicit cleanup of storage is not required. C++ does not have garbage collection. 
  • NULL - a special constant value that represents a null pointer. 
  • null pointer - a pointer value that evaluates to zero. 
  • object - has several meanings. In C++, often refers to an instance of a class. Also more loosely refers to any named declaration of a variable or other entity that involves storage 
  • OOA / OOD - acronym for object-oriented analysis and object-oriented design, processes of analyzing and designing object-oriented software 
  • pragma - a preprocessor directive used to affect compiler behavior in an implementation-defined way.

No comments:

Post a Comment