C++ is a bunch of small additions to C, with a few major additions. One major addition is the object-oriented (Classes) approach (the other addition is…
C++
-
-
Inheritance in C++ is an important feature of classes; in fact, it is integral to the idea of object oriented programming. Inheritance allows you to create…
-
What’s better than having several classes that do the same thing to different datatypes? Template Classes in C++ are a way of making your classes more abstract
-
Programs are meant to be beautiful and commenting helps with that. If someone tells you otherwise, you’d probably do best not to listen to the rest of his…
-
Debug Segmentation Faults: For new programmers, debugging errors associated with pointers can be a nightmare. “Segmentation Fault (core dumped)”…
-
Pointers are an extremely powerful programming tool. They can make some things much easier, help improve your program’s efficiency, and even allow you to handle
-
It’s your first C++ program–it’s not that long, and you’re about to compile it. You hit compile (or enter the build command) and wait. Your compiler & linker
-
There is a subtle but important distinction between Declare and Define in C++. If you don’t understand the difference, you’ll run into weird linker errors…
-
Time to learn about functions in C++ already? In general, functions are blocks of code that perform a number of pre-defined commands to accomplish…