Quote:
Originally Posted by g_paschoal
Never mind I got it working...
The correct is
Code:
const char* testDIR = "/test";
|
Remember that in the 'main' function,
char * argv[] which is an array of pointers to
char is a hold-over from the olden-days of plain-C.
I've written lots of plain-C and a fair amount of C++. Many libraries still rely on the plain-C arguments so this exact issue continues to trip folks.
Don't forget to mark your thread [SOLVED] if that is the case.
Also, if you can, consider posting your utility -- or the relevant fragment to this thread so that others can learn too.
Cordialement,
~~~ 8d;-Dan