I'm writing something in XP that changes a user's password simply with: system("net user B-Con PASSWORD")
The problem is, is that I need to generate the password to be used somewhere else in the program depending on other input..... so basically: How do I insert variables in the system() funcion?
Thanx