added configuration stuff for c++