J
jan.rebada
Hello,
I have a problem. I'm creating a program that uses system. Say for
example I invoke system("mysql -uroot -p"), the next line in the
screen will be enter password>, what I want with my C++ program is to
detect if the screen reads 'enter password>' and automatically my
program will input the appropriate password.
Any help will do. Thanks.
I have a problem. I'm creating a program that uses system. Say for
example I invoke system("mysql -uroot -p"), the next line in the
screen will be enter password>, what I want with my C++ program is to
detect if the screen reads 'enter password>' and automatically my
program will input the appropriate password.
Any help will do. Thanks.