use istringstream set arguments at running time
-
compile it
-
run it, using with arguments: (must in "")
./istringstreammain "444"
./istringstreammain "444 xxxx.root"
./istringstreammain "444 xxxx.root 78"
The second argument is string.
The first and the third are numbers.
NOTE: It's a good way to use istringstream to revice arguments!!