|
From: Rui Maciel on 2 Jan 2008 08:54 I want to convert the text contained in a c-string but I'm not getting much success. I've tried the following function: int test(char *input, char *output); I'm able to read the information to the function but it isn't possible to access the modifications done to output from outside the function. So, what do I need to do to be able to tweak output as much as I would like, even calloc'ing a new string, and still be able to access that info from outside the function? Thanks in advance Rui Maciel
|
Pages: 1 Prev: Sorting STL lists Next: edit c-string passed as a parameter |