Introduction to STL programming with Allegro

0. Introduction

This is a tutorial to teach beginners the basics of C++ and STL programming, using Allegro to compose a simple action game.

0.1 What is Allegro?

Allegro is a free professional-quality game-oriented programming library for the excellent MS-DOS C/C++ compiler DJGPP.

0.2 What will this tutorial teach me?

You will have learnt basic principles of C++ and STL, and how to use Allegro, and you will have a game I never finished myself to build on. This tutorial will also explain how to use RHIDE.

0.3 What do I need?

You need to have a working DJGPP installation, Allegro, and RHIDE. Remember to read readme.1st and the DJGPP FAQ if you have problems. I would also recommend you to be a keen learner and/or have seen a C program before.

0.4 When do we begin?

On the next page.

Table of Contents

In case you want to quickly refer back to these pages.

1. Basics

2. Preparing our game

3. Game Basics

4. OOP Basics

5. STL Basics

6. Basic Game Design

7. Action (last updated Feb 28 1998)