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,763
  • 7
  • 43
  • 56

0 Answers0