Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9234411
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T06:47:00+00:00 2026-06-18T06:47:00+00:00

My C++ application compiles and runs as expected in Netbeans. However, Code Assistance does

  • 0

My C++ application compiles and runs as expected in Netbeans. However, Code Assistance does not recognize terms such as cbegin(), cend(), unordered_set, as evinced by red underscores:

enter image description here

Code assistance does recognize end(), however. To no avail, I have tried going to Project -> Properties -> Code Assistance -> C++ Standard -> C++11. What else should I update or configure to let Netbeans Code Assistance recognize these terms?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T06:47:01+00:00Added an answer on June 18, 2026 at 6:47 am

    Make shure you use a Netbeans Version >= 7.2 because the the C++11 support was introduced in this version (see “C/C++”).

    If you already have set the C++ standard to C++11 in NB, you can reparse your procject:

    1. Selcect your C++ Project –> right click
    2. Code Assistance -> Reparse Project

    Edit:

    I tested the methods with the following code under NetBeans 7.3 RC1 (using GCC 4.7.2):

    #include <iostream>
    #include <list>
    
    int main ()
    {
      std::list<int> mylist = {5,10,15,20};
    
      std::cout << "mylist contains:";
    
      for (auto it = mylist.cbegin(); it != mylist.cend(); ++it)
        std::cout << ' ' << *it;
    
      std::cout << '\n';
    
      return 0;
    }
    

    With C++ Standard set to default this fails, but with C++11 (Project Properties -> Build -> C++ Compiler -> C++ Standard = C++11)it works.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This code in a GUI application compiles and runs: procedure TForm1.Button1Click(Sender: TObject); begin Self
I'm porting my application from 32 bit to 64 bit. Currently, the code compiles
I just addred Growl integration to an Xcode application. The source compiles and runs
How does being inside an application bundle affect how the binary executable runs? To
I have the following very simple application that compiles and runs fine: EDIT: changed
I have created an application that compiles and runs like a charm on OS-X.
When I run following code snippet from Xcode4.6 it compiles and runs fine. But
My Actionscript application compiles and works fine offline. On my server I keep getting
I have two workflow foundation (.NET 3.5 SP 1) application which compiles fine. It
My application is compiled on a development PC with a manifest 762: However at

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.