I'm studying enumeration at the minute and i've a quick question. In the following code using enum, are you limited to ouputting the sequence number of the possible values, or can you use the enum operator to output the text "green"?
#include <iostream>
#include <sstream>
#include <fstream>
#include "conio.h"
using namespace std;
int main()
{
enum colour {red, green, blue};
colour favourite;
favourite = green;
cout << favourite;
_getch();
}