Is there any Code Compiler for c++ in Endless?

Hi!
I’m a student and i worked only with CodeBlocks in Windows10
I tried to install it but it isn’t compatible with Endless os.

Is there any code compiler for c++ on Endless Os that i can use?

ps: i’m new to Endless os so i would really appreciate an anwser more developed

Thanks in advance!

Yes there is. You have a few options. Some are:

  1. Install some Kind of Development Environment like Code::Blocks, which supports C++ Development and is available in the App Center
  2. 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.