I'd like to use C++ to run a console app (telnet), but to change the input everytime. I want to do this to speed up the manual input (typing) into the program. Pseudocode for this would be
How would I accomplish this?Code:int TRY=1; char YN do { Run Program Telnet Input "o" into Telnet Input 'ENTER' into Telnet Input "111.111.111.111"<<TRY into Telnet TRY++ Ask to do again }while (YN='y')