Click here to Skip to main content
15,918,742 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralUsing CTreeViewCtrl Pin
Jose Cruz30-Oct-02 3:08
Jose Cruz30-Oct-02 3:08 
GeneralRe: Using CTreeViewCtrl Pin
User 988530-Oct-02 13:32
User 988530-Oct-02 13:32 
GeneralRe: Using CTreeViewCtrl Pin
Jose Cruz1-Nov-02 4:31
Jose Cruz1-Nov-02 4:31 
Generalusing a activex dll created in vb in an atl/mfc component Pin
yeeeooowww29-Oct-02 1:31
yeeeooowww29-Oct-02 1:31 
GeneralRe: using a activex dll created in vb in an atl/mfc component Pin
ian mariano29-Oct-02 2:25
ian mariano29-Oct-02 2:25 
GeneralLoadRegTypeLib Question Pin
Anonymous28-Oct-02 12:58
Anonymous28-Oct-02 12:58 
GeneralRe: LoadRegTypeLib Question Pin
Anonymous29-Oct-02 0:23
Anonymous29-Oct-02 0:23 
Generalostream we all scream Pin
Todd Smith25-Oct-02 9:08
Todd Smith25-Oct-02 9:08 
What's the best way to stream a container?

inline std::ostream& operator<<(std::ostream& out, const MyClass& s)
{
    return out << s.m_SomeVar;
}

MyClass myClass;
std::cout << myClass;


how do I do the same but with a vector of MyClass?

std::vector<MyClass> myClasses;
std::cout << myClasses;


use for_each maybe?

std::for_each(m_PopProfiles.begin(), m_PopProfiles.end(), Something<std::cout>()); ??


Todd Smith
GeneralRe: ostream we all scream Pin
Tim Smith25-Oct-02 9:46
Tim Smith25-Oct-02 9:46 
GeneralRe: ostream we all scream Pin
Todd Smith25-Oct-02 11:13
Todd Smith25-Oct-02 11:13 
GeneralDebuggin a Simple STL Algorithm :: STL Pin
valikac24-Oct-02 21:12
valikac24-Oct-02 21:12 
GeneralRe: Debuggin a Simple STL Algorithm :: STL Pin
Tim Smith25-Oct-02 2:22
Tim Smith25-Oct-02 2:22 
GeneralRe: Debuggin a Simple STL Algorithm :: STL Pin
valikac25-Oct-02 5:28
valikac25-Oct-02 5:28 
GeneralRe: Debuggin a Simple STL Algorithm :: STL Pin
Todd Smith25-Oct-02 11:29
Todd Smith25-Oct-02 11:29 
GeneralRe: Debuggin a Simple STL Algorithm :: STL Pin
valikac25-Oct-02 12:24
valikac25-Oct-02 12:24 
GeneralRe: Debuggin a Simple STL Algorithm :: STL Pin
Tim Smith25-Oct-02 13:07
Tim Smith25-Oct-02 13:07 
GeneralRe: Debuggin a Simple STL Algorithm :: STL Pin
valikac25-Oct-02 13:19
valikac25-Oct-02 13:19 
GeneralRe: Debuggin a Simple STL Algorithm :: STL Pin
Tim Smith25-Oct-02 13:30
Tim Smith25-Oct-02 13:30 
GeneralRe: Debuggin a Simple STL Algorithm :: STL Pin
Jörgen Sigvardsson1-Nov-02 0:42
Jörgen Sigvardsson1-Nov-02 0:42 
GeneralRe: Debuggin a Simple STL Algorithm :: STL Pin
Tim Smith25-Oct-02 13:26
Tim Smith25-Oct-02 13:26 
GeneralRe: Correction Pin
Tim Smith26-Oct-02 8:50
Tim Smith26-Oct-02 8:50 
GeneralRe: Correction Pin
valikac28-Oct-02 9:15
valikac28-Oct-02 9:15 
GeneralRe: Correction Pin
Tim Smith29-Oct-02 13:54
Tim Smith29-Oct-02 13:54 
GeneralRe: Correction Pin
valikac29-Oct-02 14:55
valikac29-Oct-02 14:55 
GeneralATL7 Auto-Generated IDL - Argh! Pin
Simon Steele24-Oct-02 6:24
Simon Steele24-Oct-02 6:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.