Subscribe to The Coding Creator        RSS Feed
-----

Using Old Source Code - Learn How To Compile and Run Source Code From Old Books!

Icon 2 Comments
About
My video series, "Using Old Source Code", shows you how to set up your IDE to compile and run the code from old programming books. I have looked for this information many times over the years. Nobody else provided it, to my knowledge, so I am.

For now this series is focused on Andre LaMothe's, "Tricks of the Windows Game Programming Gurus." I take you step by step through setting everything up CodeBlocks, Visual Studio Express C++ 2008 and Visual Studio Express C++ 2010. In the end we get the first game, Freakout, up and running, with only one change to two source code files, the removal of a .h. Nothing else is needed.

The operating system I am using is Windows XP SP3. The version of DirectX I am using is DirectX 9, the June 2010 release. While these instructions may have some value for Windows Vista - Windows 8 and Visual Studio Express C++ 2012 I can make no guarantees. However there should be no problem following along using Visual Studio Express C++ 2005. Additionally what I teach here should apply to DirectX setup for any other IDE at least in general, although the user should know their compiler well enough to adapt everything as needed.

Later I will probably work on Michal Dawson's, "Beginning 3D Game Programming in C++" and then perhaps Hawkins and Astle's, "OpenGL Game Programming." After that, once my programming and math skills are sufficient, I will turn to Vaughan Young's "Programming a Multiplayer FPS in DirectX" and Greg Snook's, "Real-Time 3D Terrain Engines using C++ and DirectX9." I have all these old programming books, and I intend to get the code running from all of them.

My purpose here is simple. To teach programmers to become intimately familiar with their compilers so they can use any book, no matter how old, and if the code is even remotely usable, figure out how to get it to compile and run. They should also be able to do this on any computer that can run Windows XP as there are no special hardware requirements like Pixel Shader 2.0 for XNA 3.1.

For those who want to learn to program with a focus on games they should, through this ongoing series, find plenty of books they can now use. It is my hope that one of them will take all they have learned and create a comprehensive course in programming with an emphasis on the fun stuff - games. I would like to see the old teaching paradigm for programming fade away like the horrible nightmare it is.

The Videos
00 - Introduction
01 - DirectX Setup and Downloads
02 - DirectX Files and Install
03 - DirectX and Visual Studio Express C++ 2010
04 - DirectX and Visual Studio Express C++ 2008
05 - DirectX and CodeBlocks with MinGW
06 - OpenGL and CodeBlocks
07 - OpenGL and Visual Studio Express C++ 2010
08 - MinGW, Hungarian Notation and the Chili DirectX Framework

Support
A Different Path - Using Old Source Code - Links and Resources

2 Comments On This Entry

Page 1 of 1

NotarySojac Icon

18 April 2013 - 11:47 AM
The good thing about blogs is you can edit them and post them anytime you feel like it and you don't have to wait for reviews.

Btw, I don't see any vids, the link has a little 404 message so maybe something went wrong?
0

DreamBliss Icon

22 April 2013 - 02:50 AM

NotarySojac, on 18 April 2013 - 11:47 AM, said:

The good thing about blogs is you can edit them and post them anytime you feel like it and you don't have to wait for reviews.

Btw, I don't see any vids, the link has a little 404 message so maybe something went wrong?


I have added links to all the videos and verified them to be working. In addition I have added a link to the support page, where all the vids can be directly accessed as well as links and information for everything discussed in the videos. Furthermore I will be adding a link to my forums where registered members can share information and ask questions pertaining to the videos.

For the record I have no plans or expectations to abandon this project. As I continue to learn C++, using the same books mentioned in the videos, I will continue to make videos where I will share tips and helpful information. My vision for this is to create a tutorial series that takes the viewer through the complete construction of a game engine with a working game. Then I will expand on this to include building a terrain engine and an editor. Any novice programmer will be able to follow the videos, learn C++, DirectX, OpenGL, Windows Programming, their IDE (CodeBlocks or VSE C++), math (as needed) and whatever else is required.

I intend to thoroughly disprove and destroy the idea that in order to learn how to program you can't aim high and create a game engine. To put to rest this idea that making a game is too complex, requires a small team of people, etc. By game, to be clear, I'm thinking something in 3D, an FPS, RPG or Adventure. Not some 2D 16 bit era thing or a console application. I figure if I can prove it can be done, by doing it, that perhaps other teachers, better and more experienced than myself, will take it from there.

A few hundred years ago if we told someone that one day humans would be flying around in metal cylinders faster than any man could run, and that man would even walk on the moon, they would laugh in our face. It took someone to make that vision a reality to prove it could be done. Programming doesn't have to boring, complicated, hard, about math, databases and computer science. It can be fun, enjoyable and an engaging learning experience.

This is my vision.
0
Page 1 of 1

Trackbacks for this entry [ Trackback URL ]

There are no Trackbacks for this entry

October 2014

S M T W T F S
   1234
567891011
12131415161718
192021 22 232425
262728293031 

Tags

Recent Entries

Search My Blog

0 user(s) viewing

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

Categories