in visual c# i used to resolve namespaces by right clicking on the class name, do you know how to do the same in c++?


resolved with the using clause, such as using namespace std; . Alternatively you can just put the namespace when you declare the object, such as std::string mystring; or mynamespace::myobj obj;

ok but what if i dont know which namespace that class belongs to? for c# visual studio shows you the probable namespace options for that class, i want something like that.

You can find out what namespace it is by reading the header file in which it is declared or reading the programmer's documentation (for example looking it up in MSDN if it is a win32 api function).