Presumably in your char-pointer stack class you would have a member of type TArray
Something like:
Code:// CHAR_PTR_STACK.H #include "T_ARRAY_FILE" class CharStack { private: TArray<char*> myStackData // array holds char* elements // .... }
Presumably in your char-pointer stack class you would have a member of type TArray
Something like:
Code:// CHAR_PTR_STACK.H #include "T_ARRAY_FILE" class CharStack { private: TArray<char*> myStackData // array holds char* elements // .... }
Last edited by AH_Tze; 03-31-2005 at 06:31 PM.
Or for any type T:
Code:template <class T> class Stack { private: TArray<T> myStackData // .... }
The crows maintain that a single crow could destroy the heavens. Doubtless this is so. But it proves nothing against the heavens, for the heavens signify simply: the impossibility of crows.