Skip to content

time is the answer

what was the question?

  • Home
  • Computers
  • Learning C++
  • Art
  • About

Tag: inheritance

Posted on 2021-05-162023-06-14

Easy to Make Mistakes in Class Inheritance

This started out as a task to learn simple class inheritance. To work out the syntax and idiomatic way to use them in C++. I just kept typing things that I thought would work and the compiler would slowly teach me what was wrong.

class rectangle : public shape
{
public:
    rectangle(float half) : shape(half)
Continue reading “Easy to Make Mistakes in Class Inheritance”

Recent Posts

  • Conversions when inherited and a constructor 2024-08-01
  • Multi Dimensional Dynamically Allocated Arrays 2024-06-01
  • Using assert calls to check coverage 2023-12-07
  • Compile time functions 2023-12-03
  • About 2023-11-30

Achived Posts

  • August 2024 (1)
  • June 2024 (1)
  • December 2023 (2)
  • November 2023 (1)
  • October 2023 (1)
  • June 2023 (1)
  • May 2023 (3)
  • April 2023 (1)
  • January 2023 (1)
  • July 2021 (1)
  • May 2021 (5)
  • April 2021 (1)
  • December 2020 (1)

Recent Posts

  • Conversions when inherited and a constructor
  • Multi Dimensional Dynamically Allocated Arrays
  • Using assert calls to check coverage
  • Compile time functions
  • About

Archives

  • August 2024
  • June 2024
  • December 2023
  • November 2023
  • October 2023
  • June 2023
  • May 2023
  • April 2023
  • January 2023
  • July 2021
  • May 2021
  • April 2021
  • December 2020

Categories

  • Art
  • Computers
  • Learning C++
  • Uncategorized

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Proudly powered by WordPress