Hi,
I am getting the following error with gcc.
invalid conversion from ‘char**’ to ‘const char**’
With this code.
void foo( const int &argc, const char **argv );
int main( int argc, char *argv[] )
{
foo( argc, argv );
}
Why is this?