mkcpp_parameters function

Function for internal use