Hi,
My IDE (NetBeans) thinks this is wrong code, but it compiles correct:
std::cout << "i = " << i << std::endl;
std::cout << add(5, 7) << std::endl;
std::string test = "Boe";
std::cout << test << std::endl;
He always says: unable to resolve identifier ....
(....
= cout, endl, string);
So I think it has something to do with the code assistance. I think I have to change/add/remove some folders.
Currently, I have this include folders:
C compiler:
/usr/local/include
/usr/lib/gcc/i486-linux-gnu/4.4.3/include
/usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed
/usr/include
C++ compiler:
/usr/include/c++/4.4.3
/usr/include/c++/4.4.3/i486-linux-gnu
/usr/include/c++/4.4.3/backward
/usr/local/include
/usr/lib/gcc/i486-linux-gnu/4.4.3/include
/usr/include
Thanks