- #1
ydan87
- 25
- 0
If I need to write a c program which get a string from the stdin and prints it after a certain manipulation, the program is called that way:
How can I save the string in my program before working on it?
Thanks in advance
Code:
echo "Hello, World. bla bla bla" | program <arg>
Thanks in advance