Just follow the e_tutorial. How to set engine variables in C++ is also described in the SDK chapters of the manual.