Subscribe to 10 GOTO 10        RSS Feed
- - - - -

Fun with Boost::proto

Icon Leave Comment
So I am working on a theoretical blog post on expressions based upon some of the little nuances that I have learned over the last week. Some neat stuff. In my research I came upon a neat little series of articles called "Expressive C++" by Eric Niebler...
- - - - -

FLTK 1.3.0 in VS2010: Setup

Icon 2 Comments
These instructions are for setting up FLTK v1.3.0 in VS2010.

I am using VS2010 Express SP1.

Warning: FLTK's interaction with VS seems to change pretty quickly between versions so if you are using a different version of FLTK I would imagine that the instructions will be slightly different.

Step 1: Download FLTK v1.3.0. ...
- - - - -

Beginner Series: Finite State Machine

Icon 6 Comments
Lets take a common little riddle and encode it into a little game.

The Fox, then Chicken, and Grain...
- - - - -

ios_base::xalloc and iostream

Icon 3 Comments
Over the years I have written a few stream manipulators and one thing that has kind of confounded me is a way to save persistent information for each stream. Well today I found a way.

Lets take a really simple example. You would like to add line numbers your output lines. Simple enough to do with a static variable and a manipulator:

* * * * -

C++ Coding Challenge #1

Icon 15 Comments
Problem: Write a program that will find the largest element of an arbitrary array without using any conditional structures: banned { if/if-else/switch/for/while/do/?:-operator }

bonus: Display the array sorted from smallest to largest with the same conditions.

i.e. write the function max in this little program:

- - - - -

Boost::Spirit Parser

Icon 2 Comments
So someone was asking about how to parse ini files ( here ) which led me to find this Boost::Spirit ini parser which made me interested in learning about Boost::Spirit...
* * * * *

C++ Template Metaprogramming

Icon 11 Comments
Template Metaprogramming

"Beware of the Turing tar-pit in which everything is possible but nothing of interest is easy." --Alan Perlis...
- - - - -

Macros & Operators

Icon 1 Comments
Macros & Operators...
- - - - -

Improving Monkey Productivity using Markov Chains

Icon Leave Comment
Monkeys Producing Shakespeare
* * * - -

C++ Hello World The OOP Way

Icon 4 Comments
I was browsing though some old computer books when I ran across, "C++ In Action: Industrial-Strength Programming Techniques" by Bartosz Milewski and I was intrigued at the approach taken. The classic "Hello World" example was given roughly as:

  • (2 Pages)
  • +
  • 1
  • 2

May 2016

1 2 34567

Recent Entries

Search My Blog

0 user(s) viewing

0 Guests
0 member(s)
0 anonymous member(s)