yes , like imperial and metric conversion ,you have to convert (type cast) from engine types to c++ types and vice versa to successfully use values and types in c++ .
stick it out a little longer with lite-c if your new to c++ , once you have enough knowledge you could always try out doing a dll later .
good luck and welcome