use c++ mode in .h files