Category

Computers & Programming

Computers & Programming

File Input and Output

I’ve decided to add file IO to my railroad game program. As always, every thing I do requires some new way to look at things. MFC provides serialization and I’m using MFC at the moment. The program only uses it for the user interface until now. Serialization is…

Continue reading
Computers & Programming

MFC Fun

The Microsoft Foundation Classes are fairly useful. I don’t have experience with any other framework for comparison but MFC it better than writing all of the message handling code by hand. The problem with MFC is that they give you plenty of rope to hang yourself. I’m adding…

Continue reading
Computers & Programming, Railroad Game

What is a Train?

I was working last night on train routing and came across a serious dilemma; if a train splits in two, there is a new train that didn’t exist when the player first set routing information for the original train. What about a train that is created that has…

Continue reading
Computers & Programming

Set Visual Studio Caption

I am providing this code in C# for a Visual Studio 2010 add-in to set the caption of the Visual Studio window based on information in the solution. All of the other code samples I found, all two of them, are only partially usable. My VS Solution always…

Continue reading