#include<iostream>
#include<string>
using namespace std;
int main()
{
enum buf{BASE,LOW,MID,HIGH,TOP};
string part[TOP]; //这里改TOP+1后可以运行了
part[BASE]= "A";
part[LOW] = "B";
part[MID] = "C";
part[HIGH]= "D";
part[TOP] = "E";
for (int i= BASE; i <= TOP; i++)
std::cout << part[i] << endl;
system("PAUSE");
return 0;
}
繁花如伊