For Example, I have compiled a C++ program through Cygwin g++ on my Windows PC. It accepts (cin) two strings and parses it to return a single string. I am thinking of using it in a batch file. Is there any way I can return the result to the .bat program directly by passing the two strings as arguments without actually executing all the input dialogues. (Something like "asd.exe -param1,param2" ) Is it to be implemented in the cpp code end. If so, give me a start where to look upon.
Aucun commentaire:
Enregistrer un commentaire