The Fifth Continent

Menu

Skip to content
  • Home
  • About this Blog
  • Contact Me

Function-like Entities

Posted September 3, 2024 by Richard

Function-like entities are things like function pointers, functors and lambdas. Like other entities, they can be passed around and used in interesting ways.

Continue reading →

Posted in: C++ | Leave a comment

Standard Template Library

Posted September 3, 2024 by Richard

The standard template library provides a wide variety of containers, algorithms, and iterators for use in our C++ programs

Continue reading →

Posted in: C++ | Leave a comment

Move Semantics

Posted September 2, 2024 by Richard

Move semantics were introduced in C++11 to allow us to easily use temporary objects without unnecessary copies.

Pages: 1 2
Posted in: C++ | Leave a comment

Class Templates

Posted September 1, 2024 by Richard

Class templates are the same idea as for function templates, but extended to classes. They are used by the compiler to generate more specific specialization when we use them in our code.

Continue reading →

Posted in: C++ | Leave a comment

Exceptions

Posted August 30, 2024 by Richard

Exceptions are an error handling mechanism built into C++. They are handled through the mechanism of try and catch blocks.

Continue reading →

Posted in: C++ | Leave a comment

Pure Virtual Functions

Posted August 29, 2024 by Richard

Pure virtual functions are functions that are not implemented in the base class but must be implemented in a concrete derived class.

Continue reading →

Posted in: C++ | Leave a comment

Dynamic Casts

Posted August 29, 2024 by Richard

Dynamic casts allow us to transform from a base class to a derived class and perform non-polymorphic actions on it.

Continue reading →

Posted in: C++ | Leave a comment

Polymorphism

Posted August 29, 2024 by Richard

Basically, polymorphism is a base pointer or reference managing a derived class.

Continue reading →

Posted in: C++ | Leave a comment

Inheritance

Posted August 27, 2024 by Richard

Inheritance is a method of code reuse. It works by having a class extend another.

Continue reading →

Posted in: C++ | Leave a comment

Overloading Logical Operators

Posted August 26, 2024 by Richard

Overriding logical operators allows us to compare and order things. Logical operators are binary operators and the same rules apply as for other binary operators.

Continue reading →

Posted in: C++ | Leave a comment

Operator Overloading

Posted August 24, 2024 by Richard

Operator overloading allows us to have our classes work with the C++ standard operators, such as +, <<. and >>. This has the effect of making our classes more natural to use and they feel like part of the language.

Continue reading →

Posted in: C++ | Leave a comment

Smart Pointers

Posted August 23, 2024 by Richard

Smart pointers are modern C++ solving the main problem with raw pointers, memory management and remembering to free heap memory with delete. They should be preferred in any new program.

Continue reading →

Posted in: C++ | Leave a comment

Posts navigation

← Older posts
Newer posts →
  • November 2026
    M T W T F S S
     1
    2345678
    9101112131415
    16171819202122
    23242526272829
    30  
    « Oct    
  • Recently Posted

    • Building a Qt Project in Java using QtJambi.
    • Git Reset and Revert et al.
    • Ignoring Files with .gitignore
    • Rebasing
    • Git Tags
    • Merging Branches
    • Cloning Git Repositories
    • Git Branches
    • Basic Git Operations
    • Low Level Git
  • Categories

    • C++ (41)
    • CMake (4)
    • General (1)
    • git (9)
    • Uncategorized (1)
  • 4,365 spam blocked by Akismet (opens in a new tab)
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.

To find out more, including how to control cookies, see here: Cookie Policy

Powered by WordPress & Portfolio.