http://www.cplusplus.com/doc/tutorial/typecasting.html
1. implicit conversion
Implicit conversions do not require any operator.
2. explicit conversion
ex) polymorphism(base class -> derived class), function argument(ex. const string)
'Papers > programming' 카테고리의 다른 글
time calculation (0) | 2007.11.25 |
---|---|
simple makefile with macro definition (0) | 2007.11.03 |
polymorphism (0) | 2007.09.29 |
CLASS vs. STRUCT (0) | 2007.09.23 |
상속관계에서의 생성자정의 (0) | 2007.09.23 |