Yes there is. You have a few options. Some are:
- Install some Kind of Development Environment like Code::Blocks, which supports C++ Development and is available in the App Center
- Use some of the Flatpak SDKs:
2.1. Install the SDK with: flatpak install -y org.freedesktop.Sdk//20.08
2.2. Run the Compiler and it’s tools
flatpak run --command=sh --filesystem=home org.freedesktop.Sdk//20.08
g++ --version
g++ (GCC) 10.2.0
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.