I am using scanf for getting user's input. Is it possible to read data from another file using scanf ( not fscanf) by using piping facility in Linux?
Printable View
I am using scanf for getting user's input. Is it possible to read data from another file using scanf ( not fscanf) by using piping facility in Linux?
Yes - try it.