Quantcast
Channel: CodeDread Blog » C++
Browsing latest articles
Browse All 10 View Live

Game Development Update

I just spent the last few nights working on the user-interface code of this SDL 2D strategy game that I’m working on. It’s finally come together nicely now. I had been under the philosophy much earlier...

View Article



Writing Copyable C++ Classes

I thought I’d jot down some notes on what I do when designing new classes in C++ to be copyable. I’d be curious to get some feedback as I’m not sure what the C++ community at large does… Anyway, when...

View Article

SDL in Games: Introduction

Since I spent the last 6 months or so getting geeked about web development, SVG, JavaScript, Ajax and XML. I think it’s about time I shift my focus back for a little while on some standard C++ game...

View Article

SDL in Games: Old School

Read Part One if you haven’t. So with a little SDL graphics knowledge under my belt, I decided that I would set out to actually implement the old BGI library using SDL. That is, I wanted to use the...

View Article

Image may be NSFW.
Clik here to view.

The Next C++

Via Slashdot. Bjarne Stroustroup, the “designer and original implementor” of the C++ programming language, gives a look forward at the features most likely to be included in the next version of C++,...

View Article


Feed Sweep

To supplement all the iPhone buzz, I thought I’d throw up a few totally unrelated links/stories I found in my feed aggregator to make you a well-rounded geek. Weaning Off The Microsoft Juice As a...

View Article

Getting To Know C++ Next: Filesystem

The next version of C++ is going to include some nice, shiny new libraries in its standard namespace. These libraries will really beef up the things that C++ developers want to be able to do in a...

View Article

Bridging The Gap Cleanly: Setting Up LuaBridge

Inspired by Rob, I decided I’d take a crack at embedding Lua scripting in a couple C++ projects that I’m working on. Rob has gone the ultimate route of using SWIG, but when I was starting to do some...

View Article


C++ STL: Safely Removing Items From A Container

A short article about removing items from a standard C++ container. When using the C++ Standard Template Library, one has to be careful not to invalidate iterators in a container that you’re iterating...

View Article


On The Merits Of Const…

A short post about using const in C++. Consider the following 3 for-loops in C/C++: /* Loop 1: */ for(int i = 0; i < getSomeValue(); ++i) { …lots of stuff in here… } /* Loop 2: */ int n =...

View Article
Browsing latest articles
Browse All 10 View Live




Latest Images