// Name:  McCabe, Micheal H.
// Date:  March 11, 2009

#include <iostream>
#include <string>
#include <iomanip>
#include <fstream>
#include <cstdlib>
#include <cmath>

using namespace std;

#define MAX_USER_LIST 100
float Data[MAX_USER_LIST];

#define N1			Data[1]
#define N2			Data[2]
#define USER_ENTRIES	Data[0]
#define START_USER_DATA	3

#define HELP_e 		"	'e' to enter N1 and N2\n"
#define HELP_i		"	'i' to enter a list of values (Q to stop)\n"
#define NO_COMMAND	"Com command recognized\n"

int main()
{
bool command_loop = true;
char cmd_chr1;
string temp;

while (command_loop)
	{
	cin.get(cmd_chr1);
	// Decode it
	switch (cmd_chr1)
	{
		case 'e':
			temp = HELP_e;
			break;
		case 'i':
			temp = HELP_i;
			break;
		default:
			temp = "NO_COMMAND";
	}		
	cout << temp;
	// Clear current line out
	cin.ignore(100, '\n');
	}
}
