Running an external .exe in a console app

What's a good alternative to system(...)?
I would like to place the .exe in the same folder as my program and run it without specifying the file path, like ifstream file; file.open ("file.xml"), just that the file is executed instead of opened.
Sorry, should have looked it up first.
Topic archived. No new replies allowed.