Source for macros.hpp for Part 9
This document shows sample contents of macros.hpp if
you are starting the tutorial in Part 9.
Defining the Remaining User Functions.
#define WebRoot IString("g:\\vatutor\\htmldocs")
#define slash IString("\\")
#define UserFilepath IString("g:\\vatutor\\users.dat")
#define EXE IString("review.exe")
#define CommentRoot IString("g:\\vatutor\\comments")
You may need to make the following changes to this file:
- Change the directory specified by WebRoot to point to the
path where you will place HTML files that are to be
accessed by the review tool.
- Change the path specified by UserFilepath to point to a
user data file, which should contain the following flat
text:
reader 1
reviewer 2
author 3
- Change the path specified by CommentRoot to point to the
path where the CGI will place comment files.
- If you are running AIX redefine the slash macro to IString("/")
instead of IString("\\"),
and redefine the EXE macro to IString("review.cgi")
instead of IString("review.exe").