| | 
| Virtual Functions and Polymorphism Posted in C and Cpp > Miscellaneous by tutorialgrub on Jan 19, 2011
Declaring functions as virtual makes the use of classes easier to manage, and allows for polymorphism, a central tenet of Object-Oriented programming. I know that these kinds of topics are difficult for newer programmers to pick up, and as such, I'll attempt to explain it as simply and with as much detail as possible to help people understand. | | | 
| On Learning the STL: Chapter 1 (Vectors) - Part 1 Posted in C and Cpp > Miscellaneous by tutorialgrub on Jan 08, 2011
Vectors are a powerful STL container format that closely resembles an array, however is much more useable and intuitive. Vectors allow you to insert, remove, pop, push, change, and resize the array, making it very powerful indeed. It's what C standard arrays would be if they weren't terrible. | | | 
| On Learning the STL: Chapter 1 (Vectors) - Part 2 Posted in C and Cpp > Miscellaneous by tutorialgrub on Jan 08, 2011
Since Vector constructors are the same as any other constructor, I don't have to cover constructors in themselves, but the particular kinds of constructors that exist for Vectors. Vectors have three kinds of constructors... | | | 
| C++ Templates and Sorting Posted in C and Cpp > Miscellaneous by tutorialgrub on Jan 04, 2011
Templates allow you to write a function once that works on any data type. The idea of templates is used in the container classes in the STL. |
<< 1 2 | |
|