problem with array template
[ Follow Ups ] [ Post Followup ] [ CS2704 Web Discussion Board ] [ FAQ ]
Posted by Rick Craig on March 20, 2001 at 22:28:06:
hi all, in my database class i have pointers to arrayT* and arrayT* which are declared off the heap in the constructor for database class --- i've overloaded the  operator in the array template, but am having a problem getting the syntax right to access the data in the array -- since the arrays are declared dynamically i have assumed that to access say a member function in the book class ex: bookClass::getIsbn would be bookArray*[index].getIsbn -- yet this will not compile -- any ideas?
Post a Followup