Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

19
  • 1
    My bad, and my apologies for my poor wording. What I meant to state was that with 11.2, while you need to enable C/C++ functionality using the plugin manager, once that it done C++17 will be available as an option automatically. See this note on NetBeans 11.2 Features "go to the Plugin Manager, enable the NetBeans IDE 8.2 Update Center, which lets you install the NetBeans IDE 8.2 modules providing C and C++ features." Commented Jan 21, 2020 at 20:49
  • 1
    OK. I definitely have C++17 available to me on NB 11.2. Later today I will update my answer with the specific steps to take on 11.2 so that C++17 is available as an option. Commented Jan 21, 2020 at 21:36
  • 1
    @BrainRenticus [1] I have updated my answer to detail the steps needed to be able to specify the C/C++17 standard on NetBeans 11.2. [2] I did this on Windows 10, but the process should be very similar on other platforms. [3] The approach I took is completely different to the one you linked to, but it worked for me. Commented Jan 22, 2020 at 3:53
  • 1
    [1] OK. It's as though you have exactly the same problem you had on NetBeans 8.2, right? [2] Perhaps you have an older version of the C/C++ plugin? Can you confirm that you have the version of the C/C++ plugin, as shown in the screen shot above for NB 11.2? (That is: Source: NBDevDarkThemes, Version: 1.31.5.1) [3] At the moment the only immediate solution I can think of is to download/install NB 8.2 from the nightly build, as mentioned in my answer above. That should have C/C++ (including C++17) pre-configured, and it won't impact any of your other NetBeans installations. Commented Jan 22, 2020 at 6:13
  • 1
    I have version 1.30.6.1, i cant find 1.31.5.1 or a way to update the version i have. I uninstalled the C/C++ plugin, removed the Update Center i added and restarted Netbeans. The plugin that is listed by the original Update Centers is still version 1.30.6.1. Commented Jan 22, 2020 at 20:17