Help with system() function...

I am trying to make a program to reset my computer password using net user. How do I get the system function to take input so I can add my username in: net user USERNAME/NAME. I have tried system("net user %s",user);

I am not very experienced with c++. Please help.


Thanks in advanced!
To be honest, this sounds really fishy...
Topic archived. No new replies allowed.