here i get en error 'improper use of typedef 'matrix''
matrix matrix :: operator+(matri x c)
{
matrix l;
if(m!=c.m||n!=c .n)
{cout<<"sdsd";
exit(0);
}
User Profile
Collapse
-
'identifier display cannot have type qualifier'
i'm getting an error 'identifier display cannot have type qualifier' near the bold portion. what's wrong???
...Code:#include<iostream.h> #include<conio.h> #include<stdio.h> #include<stdlib.h> class matrix { private: int a[20][20],m,n; public: void getdata(); void display(); matrix operator+(matrix c) ; }; void matrix::getdata() { cout<<"enterLast edited by Niheel; May 15 '11, 10:03 PM.
No activity results to display
Show More
Leave a comment: