Lab files for 157 Advanced C++ Programming
              Revision 1.2

cpyright.txt contains important copyright/disclaimer information.

Object Innovations
877-558-7246
www.objectinnovations.com

This is a generic version of the lab files intended for any
environment supporting an ANSI C++ compiler. For use on Microsoft
Windows we recommend using 157_Lab_Windows_12.zip, which contains
Visual C++ 2005 solution and project files. This version can be 
downloaded from the main Object Innovations lab download area:

http://www.objectinnovations.com/Labs/index.html

This generic version is in 157_Lab_Generic_12.zip, which can be
downloaded from the same location. It expands to a directory
structure rooted at OI. There are four subdirectories:

ImdCpp
AdvCpp
FndStl
Setup

The first three subdirectories correspond to the three modules
of the course.

Setup contains four scripts to initialize environment variables.

The two for Windows are  gcc-env.bat and vc-env.bat,  to set up the 
environment for g++ using "make" and MSVC using "nmake". 

The two for Unix/Linux are setupenv.ksh (g++ / Korn shell and variants, 
including Bourne shell) and setupenv.csh (g++ / csh and variants). 

The code example directories contain makefiles in the cases there are
multiple .cpp files. All you type in each directory containing the makefile: 
"make" (or "nmake" if using MSVC under Windows). If the makefile is for 
two projects, you'll need to use "make whatever.exe" or "nmake whatever.exe" 
under Windows, or just "make whatever" under Unix.

Note that the environment still has to be set up for the appropriate compiler 
(vcvars32 for MSVC, for example). You may find it convenient to combine the 
scripts, putting a line saying "call gcc-env" into your batch file that sets up 
the environment for use with gcc, and putting "call vc-env" into your batch 
file for setting up MSVC. Under Unix, just have students source those files 
via a line in their login scripts (e.g., for ksh, in .profile: ". 
gcc-env"; for csh, in .login: "source gcc-env").

For questions about the setup scripts or makefiles, you may contact:
Leor Zolman (leor@bdsoft.com). Please send a cc of any questions for Leor
to oberg@objectinnovations.com.