ok so have just started to learn C++ and im wanting to check all arguments to call out errors when it finds a character. Ive been able to get it to work but having to manually tell it which argv to check, is there a loop or check all argv??
I know it is a bad practice. I meant to either remove the using statement or the std:: from cerr.
Why? It is permissible to bring something into the global namespace and still use it's fully qualified name, and in this case it was simply an artifact of pasting the original code and then modifying it. Hardly worthwhile to point out.