For example, Guess I have a compiled c program, named as 'binaryOutput'. And in Unix environment, [root@blablabla ~ ] ./binaryOutput print out some result like this [0] [1] [0] [1] [1]
I want to using these result as the input of another c file.
In C lanugage, I can run the file.
system("./binaryOutput") ;
After the code, I want to add the numbers as an array's input. How can I do it?