C++ Set value for a char**
问题 I'm trying to assign a value to a char** variable. In my foo.h I've defined a couple of variables such as #define APIOCTET int #define APILONG long #define APICHAR char #define APISTRING char* Now in my foo.cpp I'm tryng to use a method where APILONG apiInitialize(APISTRING filePath, APISTRING* outputString) { //open text file to where output will be printed //do other stuff, etc.. //return result; } I'd like to assign a value to my APISTRING* outputString but I just can't figure out how to