#include #include "ourstr.h" #include "ouracct.h" // Declare parameterized class one template class one { public: one(Type initValue); void display(); private: Type value; }; // Implement the parameterized class one template one::one(Type initValue) { value = initValue; } template void one::display() { cout << value << endl; } // This main function will cause four classes to be generated by the // compiler with Type replaced by int, float, string, and bankAccount int main() { one intObject(-999); one floatObject(1.23e4); one stringObject("abcdefg"); one bankAccountObject(bankAccount("Hall", "1234", 100)); intObject.display(); floatObject.display(); stringObject.display(); bankAccountObject.display(); return 0; }