Hi this is my first post here and im really hoping i can get a little help on something which my be really easy anyways ....
I have never used typedef before i need to declare a typedef for a char acter array of 3 chars.
would this be correct:
typedef char value_type[3];
also i have to write a class and one of the private member variable is a array of type value_type from above. I need to write an accessor function it display the contents of the array, but you can not return arrays in c++, so would i go about return a refrence to that array??
Any help would be appreciated Thanks!



LinkBack URL
About LinkBacks


