still trying to figure out how to get a char * pass back out of a function( prams )
while this works perfectly in C it does not in C++, but I need to do this very same thing in C++.
now what is the best next thing?Code:#include <stdio.h> void watchThis ( char ** point) { *point = "passing a char * results back \n" "through the prams\n"; } int main (void) { char * point; watchThis(&point); printf("%s\n", point); return 0; }