ANSI Logic Operators | Office 2000 Add-ins |
Microsoft Visual C++ 6.0 does not appear to implement the ANSI standard logical operators (and, or and not) described in Horstmann's book. Include the following lines between #include lines and your using namespace std; line to simulate the standard operators. Note spaces must appear on either side of these operators when they are used.
// These macros mimic the ANSI C++ logical operations.
#define and &&
#define or ||
#define not !
Several MS Office features may not have been installed to run from student laptop hard drives. Instead they may be setup to run off the network and therefore can only be used while connected to the MSOE network. I recommend you install the features on your hard drive. This will permit you to use them while not connected to the MSOE network. To do this:
Send comments and suggestions about this course to:
Charles S. Tritt, Ph.D.
This page last updated 9/4/02