Submitted by jason on Sat, 09/06/2014 - 14:38
If you make use of inheritance, it's likely that you need to provide a virtual destructor for your classes. Modern compilers will warn if you do not, but this is a pretty recent development.
The problem is best illustrated with an example:
Submitted by jason on Tue, 04/22/2014 - 14:36
July 13, 2009 Reddit covered Release 1.0 of ChaiScript. Many things changed in the last 5 years. Features added, dependencies removed, and performance increased. With all of the changes, we decided it was time to provide a 5 year retrospective and give the world a second first-look at ChaiScript.
To start with, we've celebrated 5 years with a brand new website with organized examples (in progress) and documentation links: http://chaiscript.com
And a continuous integration system:
Submitted by jason on Tue, 08/21/2012 - 15:43
I've been following a few different news sources lately and have found a few good articles and projects I thought I would share.
Submitted by jason on Fri, 06/08/2012 - 08:14
We are proud to announce two new ChaiScript releases:
- Lots of bug fixes
- Performance improvements
- Support for
?: ternary operators
- Support for switch statements
This release is a complete retooling of ChaiScript that uses C++11 instead of Boost.
Submitted by jason on Sun, 02/26/2012 - 17:45
Submitted by jason on Thu, 02/23/2012 - 09:46
Recently, while watching the GoingNative conference, I learned about the new
std::shared_ptr helper function
Submitted by jason on Tue, 02/21/2012 - 12:52
I like to connect to Virtual Box guest operating systems remotely over RDP connections. This generally works well except if I connect from my 1280x720 laptop to a Windows guest. In this case the Windows guest will tend to resize to a "standard" resolution that fits inside of the 1280x720, which is 800x600. This can be rather obnoxious.
Submitted by jason on Mon, 02/13/2012 - 08:29
Quick, which language is the following code written in?
Submitted by jason on Sun, 02/12/2012 - 21:47
Every major platform and compiler now supports some aspect of the new C++ standard accepted in 2011. This means it is currently possible to write code that uses some of C++11 while maintaining cross-platform compatibility.
Why should you care?
Submitted by jason on Sat, 02/11/2012 - 08:16
Neither C++ Coding Standards nor Effective C++ addresses the question of which float point type is best to use and in what situations.
There are three floating point types in C and C++:
What the Standard Has to Say
There are exactly two guarantees provided by the standard: