Home / utk / cs102 / fa16 / labj / code_snippets / section1 / argtest.cpp
Directory Listing
argtest.cpp
point3d.cpp
string_to_int.cpp
test.ppm
vec_ex.cpp
1
2
3
4
5
6
7
8
9
#include <iostream>
#include <string>

using namespace std;

int main(int argc, char* argv[]) {
	for (int i = 1; i < argc; i++)
		cout << "argv[" << i << "] = " << argv[i] << endl;
}