How to store a variable in the name of a file when redirect standard input, without using argv .
Sample execution:
./ a.out < filename.txt
How to store a variable in the name of a file when redirect standard input, without using argv .
Sample execution:
./ a.out < filename.txt