Click here to Skip to main content
15,917,320 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralC# SessionId to HINTERNET Pin
VictorPr19-May-04 21:22
VictorPr19-May-04 21:22 
Generalamazon upload need help... Pin
Sumit Kapoor19-May-04 19:59
Sumit Kapoor19-May-04 19:59 
GeneralRe: amazon upload need help... Pin
Steve S19-May-04 22:29
Steve S19-May-04 22:29 
GeneralRe: amazon upload need help... Pin
Sumit Kapoor19-May-04 22:47
Sumit Kapoor19-May-04 22:47 
GeneralRe: amazon upload need help... Pin
Steve S20-May-04 4:34
Steve S20-May-04 4:34 
GeneralRe: amazon upload need help... Pin
Sumit Kapoor20-May-04 4:42
Sumit Kapoor20-May-04 4:42 
Questionhow to diasable a button Pin
mike shen19-May-04 16:37
mike shen19-May-04 16:37 
Generalusing for_each Pin
paulb19-May-04 15:13
paulb19-May-04 15:13 
I have this explicit loop:

FileMap::iterator it;
for (it = outputFiles.begin(); it != outputFiles.end(); it++)
{
	it->second->close();
}



where FileMap is a map<string,ofstream*>, so the loop is just going through all the stream pointers and calling close() on them


is it possible to implement this using for_each?, I tried this but got compiler errors:

for_each(outputFiles.begin(), outputFiles.end(), std::mem_fun<void, std::ofstream>(&std::ofstream::close));

GeneralRe: using for_each Pin
valikac19-May-04 18:36
valikac19-May-04 18:36 
GeneralRe: using for_each Pin
Andrew Walker19-May-04 22:10
Andrew Walker19-May-04 22:10 
GeneralRe: using for_each Pin
paulb20-May-04 13:14
paulb20-May-04 13:14 
GeneralRe: using for_each Pin
Jörgen Sigvardsson23-May-04 12:01
Jörgen Sigvardsson23-May-04 12:01 
GeneralRe: using for_each Pin
Andrew Walker23-May-04 20:05
Andrew Walker23-May-04 20:05 
GeneralRe: using for_each Pin
Jörgen Sigvardsson24-May-04 10:56
Jörgen Sigvardsson24-May-04 10:56 
GeneralATL &amp; ActiveX &amp; HTTP Session Pin
VictorPr19-May-04 2:37
VictorPr19-May-04 2:37 
GeneralATL DLL not showing in COM+ Pin
parkerpkthn18-May-04 11:18
parkerpkthn18-May-04 11:18 
GeneralCOM Server/Service Pin
shekar_raja17-May-04 18:26
shekar_raja17-May-04 18:26 
GeneralRe: COM Server/Service Pin
Anonymous17-May-04 19:03
Anonymous17-May-04 19:03 
GeneralRe: COM Server/Service Pin
shekar_raja18-May-04 15:13
shekar_raja18-May-04 15:13 
Generaladding property to ATL HTML control Pin
Abhi Lahare16-May-04 22:16
Abhi Lahare16-May-04 22:16 
Generalset activeX property using param.in HTML page Pin
Abhi Lahare18-May-04 3:58
Abhi Lahare18-May-04 3:58 
QuestionSliders and Editboxes in WTL??? Pin
Member 15847216-May-04 20:15
Member 15847216-May-04 20:15 
GeneralWTL - 7.5 Released - Open Source Pin
Ed Preston15-May-04 5:50
Ed Preston15-May-04 5:50 
GeneralRe: WTL - 7.5 Released - Open Source Pin
Jörgen Sigvardsson15-May-04 12:57
Jörgen Sigvardsson15-May-04 12:57 
GeneralRe: WTL - 7.5 Released - Open Source Pin
_Magnus_16-May-04 23:38
_Magnus_16-May-04 23:38 

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.