// Justin C. Miller
// University of Wisconsin Oshkosh
// Made for: http://www.geocities.com/neonprimetime.geo/index.html
// Date: 2001
// Borland Builder 4.0
// enum
#include 

// enum creates a user-defined type
// you define the type name and the possibilities you could have
// for example, bool is already defined for you, but it would
// look something like this...
//           enum bool{ true, false } ;
enum Mood { HAPPY, ANGRY, SAD} ;

int main()
{
        Mood me = HAPPY ;
        Mood girlfriend = ANGRY ;
        Mood dog = SAD ;

        if(me == HAPPY && girlfriend == ANGRY)
                cout << "Hey Happy man, why's your girl angry?" << endl ;

        if(dog == SAD)
                cout << "What happened to your dog?" << endl ;
        else
                cout << "That's dog is definetly not sad!" << endl ;

        return 0 ;
}

//  Hey Happy man, why's your girl angry?
//  What happened to your dog?

    Source: geocities.com/neonprimetime.geo/cpp/cpp_SourceCode

               ( geocities.com/neonprimetime.geo/cpp)                   ( geocities.com/neonprimetime.geo)