Subscribe: Dr.Dobb's C++ Articles
Preview: Dr.Dobb's C++ Articles

Dr. Dobb's C/C++

Dr. Dobb's

Copyright: Copyright 2013, United Business Media.

Dr. Dobb's Archive

Sun, 11 Jan 2015 09:09:00 -0500

On this site is archived all the content from Dr. Dobb's that was published on the Web through December 31, 2014.

biicode 2.0 Is Buzzing

Wed, 24 Dec 2014 04:19:00 -0500

A C and C++ dependency manager with a hosting service

Abstractions For Binary Search, Part 10: Putting It All Together

Mon, 22 Dec 2014 02:24:00 -0500

After the discussions of the last few weeks, we are finally ready to build our test cases.

Jolt Awards 2015: Coding Tools

Tue, 16 Dec 2014 07:04:00 -0500

The best tools available for creating, testing, and debugging code.

Abstractions For Binary Search, Part 9: What Do We Need to Test?

Mon, 15 Dec 2014 20:52:00 -0500

Many people confuse the idea of a test case working correctly with the idea of a program producing correct output.

Abstractions for Binary Search, Part 8: What Does It Mean To Say "It Works?"

Tue, 09 Dec 2014 04:20:00 -0500

Last week, we talked in general terms about how to test a binary-search function. Now let's get specific.

Abstractions For Binary Search, Part 7: Choosing Test Cases

Wed, 03 Dec 2014 17:15:00 -0500

Binary search is a particularly instructive algorithm to figure out how to test.

Building Node Projects in Visual Studio

Tue, 02 Dec 2014 06:06:00 -0500

Developing server-side apps with the popular Node framework can now be done with the full support of Visual Studio IntelliSense, debugging, and project management.

Building Portable Games in C++

Tue, 25 Nov 2014 07:06:00 -0500

The cocos-2d-x open source framework can be used to build games, apps, and other interactive software in C++. Here's a hands-on guide to using it to write and port games.

Abstractions For Binary Search, Part 6: How On Earth Do You Test It?

Mon, 24 Nov 2014 04:22:00 -0500

We will reduce a substantial part of our problem to calling these two functions repeatedly with suitably chosen test cases and verifying that they return the same results.

Abstractions For Binary Search, Part 5: Getting Down to Details

Thu, 13 Nov 2014 02:44:00 -0500

It's hard to imagine how this code could be much simpler. However, we don't actually know whether it works.

C# and .NET's Sudden Ubiquity

Wed, 12 Nov 2014 06:10:00 -0500

Microsoft ports .NET to Linux and Macintosh and open-sources the entire stack.

Invariants for Binary Search, Part 4: Using The Improved Abstractions

Mon, 10 Nov 2014 02:53:00 -0500

We continue our discussion of how to implement our binary search in an n-element sequence.

Data Compression with Arithmetic Encoding

Mon, 03 Nov 2014 22:05:00 -0500

Arithmetic encoders are better suited for adaptive models than Huffman coding, but they can be challenging to implement.

Sharper Than a Blue Tooth

Mon, 03 Nov 2014 12:20:00 -0500

This simple project sends out beacon data using the board's onboard temperature sensor (granted, it measures the internal chip temperature, which might not be that useful).

Invariants for Binary Search, Part 3: Improving Our Abstractions

Fri, 31 Oct 2014 03:15:00 -0400

With this abstraction under our belts, we can proceed to write code. If you're interested, you might like to do so for yourself before I show you the details next week.

Invariants for Binary Search, Part 2: Refining The Specifications

Wed, 22 Oct 2014 13:11:00 -0400

This week, we will try to define more carefully the problem we would like to solve before leaping into the solution.

Invariants For Binary Search, Part 1: A Simple Example

Thu, 16 Oct 2014 07:17:00 -0400

We can use an invariant to help us reason about a piece of code that many programmers find hard to get right by any other means.

CoderGears CppDepend 5.0 Arrives

Wed, 15 Oct 2014 11:14:00 -0400

Analyze a codebase and automate code reviews

Loop Invariants And Testing: Often Possible, Often Difficult

Mon, 06 Oct 2014 06:56:00 -0400

We can think of an invariant as being a claim or belief about the state of program that we expect to be true each time control reaches a particular point in the program.

A Loop Invariant Can Be An Optimization Tool

Mon, 29 Sep 2014 15:14:00 -0400

This week, we'll look at the helpful qualities of loop invariants.

Jolt Awards: The Best Books

Tue, 23 Sep 2014 08:09:00 -0400

The best books of the past 12 months.

Using a Loop Invariant to Help Think About a Program

Fri, 19 Sep 2014 09:51:00 -0400

Last week, I talked about how to write a loop invariant. I would like to continue this discussion by paraphrasing a beautifully elegant example that Dijkstra used in A Discipline of Programming.

Setting Up a Test Environment for C++14

Wed, 17 Sep 2014 09:11:00 -0400

A little clever work and I was able to quickly set up a test machine with everything I needed on Ubuntu running in a Microsoft Azure VM.

The C++14 Standard: What You Need to Know

Tue, 16 Sep 2014 09:07:00 -0400

New, useful features that make the language safer and more convenient.