![]() |
Data Abstraction and Problem Solving with C++Walls and Mirrorsby Frank M. Carrano |
![]() |
example230b.cppGo to the documentation of this file.00001 00015 int main() 00016 { 00017 MyClass<int> a; 00018 MyClass<double> b(5.4); 00019 00020 a.setData(5); 00021 cout << b.getData() << endl; 00022 00023 return 0; 00024 } // end main |