Skip to content
This repository was archived by the owner on Feb 11, 2021. It is now read-only.

Commit e2cc07f

Browse files
authored
Update main.cpp
1 parent 417889b commit e2cc07f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ using namespace std;
33

44
int main(int argc, char *argv[])
55
{
6-
for (int i=1; i<argc; i++) {
6+
// start from 1 to ignore script name; argv[0] will be a name of processing file.
7+
for (int i = 1; i < argc; i++) {
78
cout << argv[i] << endl;
89
}
910
return 0;

0 commit comments

Comments
 (0)