I have two seperate codes one is written in c++ and the other is in java. Now what I want to do is ,First I want to run c++ code, and then I want to give the output file of this program to the second program, writen in java, as an input. I need to do this fully automatically. Is there a possible way to do this ?
I mean, I'll type a single command into terminal and what I`ve explained above will occur.
Do I need to write a shell script for that ?
Java Native Invocation
, but shell script would be much easier.