10

Suggestions for command-line argument processing in C++ efficiently:

Note: Windows specific only

 1:     #include <iostream.h>
 2:     int main(int argc, char **argv)

Instead of, for example:

 if ( argc != 3 )  {
      ....
 }

Regards

Aaron
  • 2,823
  • 9
  • 44
  • 57

0 Answers0