course.wilkes.edu/CS125Labs
Welcome to the site for CS 125 labs!

 

Gender.doc

// Gender.doc documents the Gender enumeration.
// Author:
// Date:
//

#include <iostream> using namespace std;

// replace this line with a declaration of enum Gender

// operator>> // PRE: in contains a valid enumerator. // Input: the enumerator from in. // Return: in, for chaining. // POST: value == the enumerator. // // replace this line with a prototype for operator>>

// operator<< // PRE: value contains a valid enumerator. // Output: the enumerator in value. // Return: out, for chaining. // POST: out contains the enumerator. // // replace this line with a prototype for operator<<

// operator++ (prefix) // PRE: value contains a valid enumerator. // Return: the successor to that enumerator. // POST: value == the successor to that enumerator. // // replace this line with a prototype for operator++ (prefix)

// operator++ (postfix) // PRE: value contains a valid enumerator. // Return: that enumerator. // POST: value == the successor to that enumerator. // // replace this line with a prototype for operator++ (postfix)

// operator-- (prefix) // PRE: value contains a valid enumerator. // Return: the predecessor to that enumerator. // POST: value == the predecessor to that enumerator. // // replace this line with a prototype for operator-- (prefix)

// operator-- (postfix) // PRE: value contains a valid enumerator. // Return: that enumerator. // POST: value == the predecessor to that enumerator. // // replace this line with a prototype for operator-- (postfix)

 
  Home

Help

Lab 0

Lab 1

Lab 2

Lab 3a

Lab 3b

Lab 4

Lab 5

Lab 6

Lab 7

Lab 8

Lab 9

Lab 10

Lab 11

Lab 12

Lab 13



Membership

Login




Last update: Friday, October 6, 2000 at 1:39:22 PM.
visitors to this page.