Queue combining | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Queue combining

I’m having a hard time understanding how to combing two programs into one, as such the output of program 1 becomes the input of program 2 then evaluated using a calculation program.

20th Feb 2018, 2:48 AM
Edwin Sherman
Edwin Sherman - avatar
2 Answers
+ 8
If you write your first program's output to a file (not available in SoloLearn), your second program can read it. The other choice is merge the programs into one. A final choice could be available with Linux piping the console output of the first into the second.
20th Feb 2018, 3:20 AM
John Wells
John Wells - avatar
+ 2
Alright, thank you @John Wells 🙏🏽
20th Feb 2018, 3:23 AM
Edwin Sherman
Edwin Sherman - avatar