Skip to content
Archive of posts filed under the C/C++ category.

RIP Dennis Ritchie

It’s now being reported that Dennis Ritchie has died. All programmers owe him a great debt of gratitude. He invented C and helped create Unix, and thus in many ways is one of the fathers of modern computing. #include <stdio.h> main() {   printf("goodbye, world"); }   So long, Dennis! We’ll miss you!.

Shared pointers in C++

Having mostly been a C programmer, I’ve not kept up with C++ very much. Lately, though, I’ve been using it, and with the final adoption of the C++0x standard, I’ve started looking into the new features. Here’s one that caught my eye this morning: shared_ptr from section 20.7.2.2 of the C++0x standard. To users of [...]

Getting started with Unicode

Since I wrote a simple LogFile class to use in my software, I decided that I ought to make sure it works with Unicode so that I can be prepared for multi-lingual support in the future. Hence, I’ve been reading up on Unicode and how to support it. Of course, the character encoding is closely [...]

Fracter

Fracter – A Mandelbrot Set Viewer and SDL Demonstration Program Last month, on October 14, 2010, one of the great mathematicians of our age died. Benoît Mandelbrot was called the father of fractal geometry, and indeed, he coined the term “fractal” and his seminal book The Fractal Geometry of Nature changed forever the way mathmeticians [...]