View Single Post
Old 12-05-2004, 11:20 AM   #2 (permalink)
welshbyte
Insane
 
Location: Wales, UK, Europe, Earth, Milky Way, Universe
In the private bit you can say

char* foo;

Then in the constructor, you'd initialise it to whatever

foo = "bar";

And to get at it from another class you'll need to write an accessor method which returns a char*
__________________
There are only two industries that refer to their customers as "users". - Edward Tufte
welshbyte is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47