Guest
Public paste!

Untitled

By: a guest | Feb 9th, 2010 | Syntax: C++ | Size: 0.22 KB | Hits: 11 | Expires: Never
Copy text to clipboard
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main(int argc, char* argv[]) {
  6.  
  7.         cout << "argc = " << argc << endl;
  8.  
  9.         for(int i = 0; i < argc; i++)
  10.  
  11.                 cout << "argv[" << i << "] = " << argv[i] << endl'
  12.  
  13.         return 0;
  14.  
  15. }