Posted by Ricky Zimmermann on April 01, 2001 at 18:45:09:
In Reply to: Simple dumb question posted by Scott on April 01, 2001 at 16:27:09:
: I just have simple dumb questions
: first of all, is it ok to initialize book/author array in main.cpp and pass it to DB class constructor and assign passed array to private data? For eg) bookArray = passedArray? would it be OK?
: second of all when i used pointer of array object, it seems to ignore  operator. and so i used elemAtIdx function which is same thing but it's giving me unresolved symbol on constructor function
: Any ideas?
: Thanx in adv
I couldn't get the  to work with an array pointer, so I just declared temporary arrays and used the data from them... it works just so long as you don't try to add things to the copy.
Post a Followup