Is using the main
function in the form:
int main(int argc, const char* argv[])
non-portable and non-standard? The C++ standard says that argv
is "pointer to pointer to char". I prefer to use the word const
to prevent modification and out-of-bounds in an unknown (to me) area of memory.
Is such a form wrong and non-portable?