P
Parent class
See [Inheritance]
Pointer

A pointer is essentially the same as a memory address. The main difference is that a memory address is "untyped" (i.e., it can refer to any sort of variable) whereas a pointer always has an associated data type. For example, char* (pronounced "char star") means "pointer to a char". To say "a variable points to a memory location" is almost the same as saying "a variable's value is the address of a memory location". In the specific case of a variable of type char*, to say "the char* x points to a C string" is essentially equivalent to saying "x contains the address of the first byte of the C string".

See also [Array]
Polymorphic Object

A polymorphic object is a C++ object that presents the appearance ...

Get Learning to Program in C++ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.