I have attached some notes about bipolar junction NPN and PNP transistors.
Tag Archives: base
C++ Virtual Destructors and Base Classes
I’ve been wondering what happens when a derived class defines a virtual destructor. What about its base destructors? Are they called? If so, when? I finally read the right paragraph in The C++ Programming Language (pg 70):
A virtual destructor is essential for an abstract class because an object of a derived class is usually manipulated through a pointer to a base class. Then, the virtual function call mechanism ensures that the proper destructor is called. That destructor then implicitly invokes the destructors of its bases and members.
Still not sure when the bases and members are destructed, presumably after the derived virtual destructor…
Base 36 encoding and radix economy
Reading about Base 36 encoding and Radix economy.
PHP Number Base Conversion
I was doing some research into base conversion and so far have found a function, dec2base, which looks like it might come in handy. There’s an online demo of the function.
Setting up an Ubuntu server
I’ve started to put together a section of the ProgClub admin reference called Setting up an Ubuntu server which is to be my strategy for a ‘base’ or ‘default’ configuration for any server of mine. I.e. things all servers should have. I only started this the other day so I expect there’s quite a lot of improvement to be made.