# River Profile [C++] Same example than {doc}`river_profile_py` written in C++. ```{literalinclude} river_profile.cpp ```