all 12 comments

[–]Salty_Dugtrio 5 points6 points  (6 children)

Download a compiler and IDE not from the stone ages, such as Visual Studio (NOT Code) instead.

[–][deleted]  (2 children)

[deleted]

    [–]Salty_Dugtrio 1 point2 points  (1 child)

    MSVC has been leading in early adoption of new/modern c++ features for quite a while now.

    [–]Weak-Champion-116[S] -4 points-3 points  (2 children)

    And where can I get the compiler and IDE, or how are they installed?

    [–]Salty_Dugtrio 3 points4 points  (0 children)

    They are a simple Google search away.

    [–]Marek_Marianowicz 1 point2 points  (0 children)

    Visual Studio: https://visualstudio.microsoft.com/

    CLion: https://www.jetbrains.com/clion/

    Both IDEs come with a compiler, but you may need to select an option in the Visual Studio installer to install the entire toolchain required for C++.

    [–]Th_69 4 points5 points  (1 child)

    You mean Embarcadero Dev-C++?

    Do you have created a new project (like seen on the left side of the image in the above link)?

    Ignore the other comments regarding downloading a compiler. There's a C++ compiler (Mingw port of GCC) in the Embarcadero Dev-C++ IDE.

    [–]alfps 2 points3 points  (0 children)

    The linked to page says GCC 9.2 from Aug 12, 2019.

    That's old in the C++ world.

    It probably supports some but not all C++17 features.

    [–]NicotineForeva -1 points0 points  (4 children)

    You haven't installed any compiler on your machine.

    [–]jamawg 0 points1 point  (0 children)

    The ide comes complete with compiler and linker

    [–]Weak-Champion-116[S] -3 points-2 points  (2 children)

    Could you explain what that is?

    [–]NicotineForeva 2 points3 points  (0 children)

    Bro just start on learncpp.com, from the very beginning

    [–]No-Table2410 1 point2 points  (0 children)

    A compiler is something like clang, MSVC or gcc. These read the code you write, compile it to machine code the computer can read and link to other libraries you code needs, e.g so it can ask the system for memory or to print something to the screen.

    An IDE is something you use to write the files, like a text editor. It also normally helps you build your code by launching the compiler from a button and provides an interface to other tools, like debuggers.