how do i get into a tempstring a string value from a data member of an object in an array of objects?
i thought it was:
where the function prototype is:Code:strcpy(tempstring, array[index].getFunction() );
array[index] gives me the object i need to work with inside my array, while the getFunction() returns the data member value of that particular object, right?Code:const char* getFunction() const;