[求助]指针数组的一些问题.顺便找老师,长期教导俺的
#include <iostream.h>main()
{
char *month[]={"january","february","march","april","may","june","july"
"august","september","octor","november","december"};
int n;
cin>>n;
cout<< *month[n-1]<<endl;
}
老师让我们写输入月份数,显示月份英文的程序.我写的不对,不知道怎么改了.教教我这的有关知识