Netbeans 9 C++ Support

后端 未结 3 1098
情深已故
情深已故 2020-12-29 05:15

I wonder if there is a support for C++ in Netbeans 9. This link shows C++ on screenshot (when creating new project). However, after installing, I don\'t have one.

相关标签:
3条回答
  • 2020-12-29 05:24

    Netbeans 10 and 11 - adding C / C++ also works in the same fashion.

    In Netbeans go to Tools->Plugins->Settings

    Entry NetBeans 8.2 Plugin Portal is already present.

    Click the checkbox next to this entry.

    Switch to Available Plugins tab, click Check for Newest.

    C / C++ is now on the list.

    Computer that this is done is on Windows 10 x64.

    0 讨论(0)
  • 2020-12-29 05:41

    I wonder if there is a support for C++ in NetBeans 9.

    The answer to that is definitely no, and definitely yes...

    • No, in the sense that the use of C++ on NetBeans 9 is not currently supported by Apache, and it is done at your own risk. NetBeans is currently being handed over from Oracle to Apache, and they haven't got to the C/C++ part yet. See What's Happened to My Favorite NetBeans Plugins? for more information.

    • Yes, in the sense that it is technically feasible to do it; the NetBeans 9 IDE allows you to use C/C++.

    This is what you need to do:

    Step 1 of 2: Make C/C++ available as a plugin.

    • Tools > Plugins > Settings tab > click the Add button.
    • On the Update Center Customizer screen:
      • Enter some value in the Name field (e.g. "My plugins"),
      • Enter http://updates.netbeans.org/netbeans/updates/8.2/uc/final/distribution/catalog.xml.gz in the URL field
      • Click the OK button.
    • This should create a new entry in the Configuration of Update Centers list in the Settings tab.
    • Checking that new entry should instantly add plugins to the Available Plugins tab.
    • Click the Available Plugins tab, then click the Category column to sort the entries by category.
    • The Name of the entry at the top of the list should be C/C++. If so, you have successfully made the plugin available:

    Step 2 of 2: Install the C/C++ plugin.

    • Check the C/C++ entry shown in the screen shot above, and then click the Install button.
    • Follow the wizard's instructions. The plugin will be downloaded and installed, and you will be required to restart NetBeans.
    • To confirm that C/C++ has been installed, click Tools > Plugins > **Installed tab. You should see an entry for the C/C++ plugin you just installed.
    • Also, verify that you can now create a C/C++ project through the Project wizard:

    Notes:

    • The finer details on configuring C/C++ on NetBeans 9 (Tools > Options > C/C++) are unchanged from NetBeans 8.x. Refer to Configuring NetBeans IDE 8.0 for C/C++/Fortran for that.
    • Much of this answer has been copied from an answer I gave on problems with Tomcat on NetBeans 9, but the details are sufficiently different to merit a separate answer.
    0 讨论(0)
  • 2020-12-29 05:41

    You have to install C++ plugin (Tools -> Plugins)

    0 讨论(0)
提交回复
热议问题