Copy paste is king. Please copy and paste whatever u have written, both .h and .cpp files, so that we can take a look and get back to you.
in my experience, system() and execl() are the best ones to use. Make sure to raise their permissions before u execl them.
Separate names with a comma.