DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   C++ (http://www.daniweb.com/forums/forum8.html)
-   -   how to insert a class object into a set container? (http://www.daniweb.com/forums/thread161002.html)

dandeliondream Dec 6th, 2008 6:16 am
how to insert a class object into a set container?
 
    set<Student> myStud;
    Student b;
    myStud[b] = Student("Katie", 12);

Freaky_Chris Dec 6th, 2008 8:25 am
Re: how to insert a class object into a set container?
 
http://www.catb.org/~esr/faqs/smart-questions.html

dandeliondream Dec 16th, 2008 11:51 am
Re: how to insert a class object into a set container?
 
thanks!;)


All times are GMT -4. The time now is 6:57 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC