return a char* from a calss
Posted on 2001-09-17
i have a class with a function. i should return a char* but i've heard that it's not proper and can give some problems. what would be the best way to do that?
there is something special with char **test but i don't know how to work with that exactly. annother solution would be to give the adress to the function (one more func. param.)
what is the most proper way, what do u think.
can u help me with char ** ?