Приглашаем посетить
Чуковский (chukovskiy.lit-info.ru)

[Chapter 3] 3.2.98 new

PreviousChapter 3
Functions
Next
 

3.2.98 new

new CLASSNAME LIST
new CLASSNAME

There is no built-in new function. It is merely an ordinary constructor method (subroutine) defined (or inherited) by the CLASSNAME module to let you construct objects of type CLASSNAME. Most constructors are named "new", but only by convention, just to delude C++ programmers into thinking they know what's going on.


PreviousHomeNext
3.2.97 myBook Index3.2.99 next