Hi, for some reason my Netbeans is puttig a red line under the text "set" when declaring a std::set variable (psuedo code illustrating this is pasted below). It is able to look up the header file <set> when I typed in the #include line, and containers such as std::map and std::vector work. Any idea why it's not understanding std::set? Would it be due to the stdc++ lib I have not having it? How can I check which stdc++ lib (ie GNU, Apache stdcxx, etc) is installed?
Code:
#include <set>
main() {
std::set<std::string> setOfItems;
}