// class to class #include <iostream.h> #include <conio.h> class cube { int cu; public: void display() { cout << " Cube = " << cu; } void setdata(int n) { cu = n; } }; class get { int no; public: void getdata() { cout << "Enter No. = "; cin >> no; } operator cube() ...
Posts
Showing posts with the label class conversion