One way to spend six hours

Step 1. Create a new file called stdafx.cpp.
Step 2. In that file, add one line: #include <stdafx.h>
Step 3. Debug for many, many hours.
Step 4. Change stdafx.cpp to this: #include "stdafx.h". Note that the compiler now stops assuming you meant the stdafx.h buried deep inside the MFC source.
Step 5. Go home and have a drink.

Categories

1 Comments

Josue R. said:

I'm curious to know, was this time-spent-well-debugging during working hours? If it was, AWESOME - if it was not, excellent!

About this Entry

This page contains a single entry by Mike Tsao published on December 19, 2005 2:35 PM.

Canceling XM Radio was the previous entry in this blog.

U.S. law, Constitution not binding on future Presidents is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Powered by Movable Type 4.2rc2-en