So I found this which said:
- \list or \l
- list all databases
- \dt
- list all tables in the current database
So I found this which said:
So it turns out there is a std::string->c_str function. Note: I’m pretty sure this char[] will be deleted when the std::string is deleted…
Just followed this tutorial on how to create a basic C++ app that talks to a PostgreSQL database…
See here:
Press Alt+F2 and run dconf-editor. Then org -> gnome -> desktop -> background and check show desktop icons. For more information see here…
Found Gallery of Processor Cache Effects… also of interest CPU cache, Memory Management Unit, and CPUID on Wikipedia.
Just stumbled upon What every programmer should know about memory:
Use the following commands:
# lscpu
And:
dmidecode -t cache
Interesting words encountered in The Cathedral and the Bazaar and related essays.
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…