5,337
edits
Line 43: | Line 43: | ||
====Casting==== | ====Casting==== | ||
[https://stackoverflow.com/questions/332030/when-should-static-cast-dynamic-cast-const-cast-and-reinterpret-cast-be-used Types of casts] | [https://stackoverflow.com/questions/332030/when-should-static-cast-dynamic-cast-const-cast-and-reinterpret-cast-be-used Types of casts] | ||
C++ has several types of casts. | C++ has several types of casts. | ||
These are the main ones you should use. | These are the main ones you should use. |