I need to make a c program that will receive binary and output ascii
,
I made the program and it works when I input "s o m e t h i n g"
in to the program arguments and then the program outputs it as ascii
.
But they require me to do
$cat "file" | ./"program"
when I do this nothing happens.
How do I catch this cat?
Is it not sent to my program as arguments?