First page Back Continue Last page Graphics
Example : Prata file.cpp
Can open at least 24 (I tried it).
Command Line Arguments
- int main ( int argc, char * argv[ ])
- argc represents the count of arguments
- my_run // counts as 1.
- my_run file1 file2 // counts as 3.
- my_run a b c d e f g h // counts as 9.
- argv is a vector of strings for each argument
- argv[0] is “my_run”
- argv[1] is “file1”
- argv[2] is “file2” // for second example above.
Example : Prata count.cpp