how to decide whether it is in the std?
hello,everyone ,
i have a problem:
#include<iostream>
#include<set>
#1 int main()
#2 {
#3 std::set<int> intset;
#4 intset.insert(10);
#5 intset.insert(5);
#6 intset.insert(1);
#7 intset.insert(3);
#8 intset.insert(8);
#9
#10 std::cout<<"contents of set:"<<std::endl;
#11 std::set<int>::iterator iter;
#12 for(iter=intset.begin();iter!=intset.end();iter++)
#13 std::cout<<*iter<<std::endl;
#14 return 0;
#15 }
in the line#11,when i didnot give the suffix--std:: ,the system gives the errors :
set is not declared,
as for std,i know little about it ,then how i know when a thing is in the std or not ,how to cope with the situation?
:wave: :wave:

