So, I ran across a problem with the include path of Netbeans 6.9 in Ubuntu 11.04. All of my problems began after a recent update in Ubuntu, and I thought that maybe an update to Netbeans was the culprit. After searching the list of recent updates, and researching things on the net, I couldn't find anything. I search and search for some explanation on how to get it back and running, and even re-installed Netbeans, but to no avail.
I did find a way to enter in the include paths manually, but it was pain to hunt down where all of the dependency libraries were. I had to add usr/include and several sub-directories, along with listings to other folders as well, (I'll include the list below). It was driving me nuts.
Then, a lot of searching through menus, I found you can modify your include path to keep these folders loaded each time you start a new project. You just go to the Tools/Options menu dialog, and select the C/C++ button. Under the Code Assistance tab, you can add to the include paths. Now, you'll have to add each folder separately for C and C++, but if your anything like me, only the C++ one matters.
So, come to find out, the update wasn't to Netbeans, but to the gcc compiler, moving up from 4.4 to 4.5, because Netbeans had all of the proper include paths for the gcc 4.4, and none for the 4.5.
So, here is the list of include folders I had to add: (You're mileage may vary, so just control click on each include in your code that has the caution triangle next to it. That will get you to the library file that is missing a link, and you can search your computer for the file by that name.)
this combination of paths was what was required for my compiler to recognize all of the files in the standard library again. I hope this helps out anyone who has the same problem I had.