How enter a password using C++ code

I have a password protected executable file in .zip format. Now I have given the following command to open this file
system("start e:\\Terminal.zip\\Terminal.exe");
After execution of this command a small window appears asking for password to enter. I want this password to be entered automatically using c++ code. How i can do it.