error C2039:'InputFromkeyboard' :is not a member of 'CMatrix'#include#include#include#includetemplateclass CMatrix{ int nNum;T**Mat;T**MatR;T**MatRefl;T**Matr;T**Matre;public:CMatrix();CMatrix(int n);CMatrix();void Show(int k=0); //输出矩阵void R

来源:学生作业帮助网 编辑:作业帮 时间:2024/07/19 11:30:46
error C2039:'InputFromkeyboard' :is not a member of 'CMatrix'#include#include#include#includetemplateclass CMatrix{ int nNum;T**Mat;T**MatR;T**MatRefl;T**Matr;T**Matre;public:CMatrix();CMatrix(int n);CMatrix();void Show(int k=0); //输出矩阵void R
xTMo@++q:$6EB% 7d{Z)U E|HTPCUC $@ЪN/7k;!ı̼}3;oF6&b20]^7J׈^-t(dN 4pytrabd9|rd0Zp@nqRIΤ2tYf YC+'lܡ7{t^P+ղt}t2Zn~8Z&",k_Tz""8Y2 $-M`4FRD)PyZ߅-¬zUtc`/\V|'Pfg̎FϟFN)sj`J]ߢ*P޻?>6upwv՟4t ?ZG'84$V|[E݃ TKů?>?9^bF%7NKL=Fz=V*QliMog0@hO>)`4EE.zff*o$B

error C2039:'InputFromkeyboard' :is not a member of 'CMatrix'#include#include#include#includetemplateclass CMatrix{ int nNum;T**Mat;T**MatR;T**MatRefl;T**Matr;T**Matre;public:CMatrix();CMatrix(int n);CMatrix();void Show(int k=0); //输出矩阵void R
error C2039:'InputFromkeyboard' :is not a member of 'CMatrix'
#include
#include
#include
#include
template
class CMatrix
{
int nNum;
T**Mat;
T**MatR;
T**MatRefl;
T**Matr;
T**Matre;
public:
CMatrix();
CMatrix(int n);
CMatrix();
void Show(int k=0); //输出矩阵
void R90(); //旋转90度
void R180(); //旋转180度
void R270(); //旋转270度
void ReflectX(int k=0); //X轴反射
void ReflectY(int k=0); //Y轴反射
int LookForData(); //查找
int ModifyData(); //修改
int ModefyData(int row,int column); //修改
double Range(); //求模
void InputFromFile(char *filename); //从文件中输入矩阵
void InputFromKeyboard(); //从键盘中输入矩阵
};
CMatrixM;
//////////
void main()
{ int choice;
cout

error C2039:'InputFromkeyboard' :is not a member of 'CMatrix'#include#include#include#includetemplateclass CMatrix{ int nNum;T**Mat;T**MatR;T**MatRefl;T**Matr;T**Matre;public:CMatrix();CMatrix(int n);CMatrix();void Show(int k=0); //输出矩阵void R
把case 2:M.InputFromkeyboard();中的K改成大写.