when should we add a "virtual" I just post an example after fellows here gave me directions. http://www.cplusplus.com/forum/begi...
How to handle char pointer ? So, in "char m[80]", despite m has an address, it is NOT a pointer ( [b]m is an array !![/b]) But...
How to handle char pointer ? Ok, but if I make the code as below, I get the following error: error: ISO C++ forbids cast to no...
How to handle char pointer ? Hello, I'm using the snippet below to understand how to handle char pointers. This snippet shows t...
polymorphism example (beginners)Swap() change guns. It's called with the 2 guns in the example. It unloads the "active" gun and load...