Name of a file redirecting the default entry in C

1

How to store a variable in the name of a file when redirect standard input, without using argv .

Sample execution:

  

./ a.out < filename.txt

    
asked by anonymous 27.05.2018 / 17:40

0 answers