Click here to Skip to main content
15,921,660 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: Minimize problem Pin
dysxq8-Apr-03 4:18
dysxq8-Apr-03 4:18 
GeneralConfused on UISetRadio() Pin
Tommy2k6-Apr-03 23:53
Tommy2k6-Apr-03 23:53 
GeneralRe: Confused on UISetRadio() Pin
Michael Dunn7-Apr-03 7:48
sitebuilderMichael Dunn7-Apr-03 7:48 
GeneralRe: Confused on UISetRadio() Pin
Tommy2k10-Apr-03 7:03
Tommy2k10-Apr-03 7:03 
GeneralRe: Confused on UISetRadio() Pin
Michael Dunn3-May-03 12:54
sitebuilderMichael Dunn3-May-03 12:54 
Generalfor_each / accumulate Pin
Chris Losinger5-Apr-03 10:03
professionalChris Losinger5-Apr-03 10:03 
GeneralRe: for_each / accumulate Pin
valikac6-Apr-03 6:47
valikac6-Apr-03 6:47 
GeneralRe: for_each / accumulate Pin
Zdeslav Vojkovic7-Apr-03 23:36
Zdeslav Vojkovic7-Apr-03 23:36 
not exactly without extra functions, but you will need + operator. here's something similar:

class CLong
{
public:
CLong(long l) : m_val(l){;}
const long Val() const {return m_val;}

CLong operator+(const CLong& rhs)
{
return CLong(m_val + rhs.Val());
}
private:
long m_val;
};

using namespace std;

int main(int argc, char* argv[])
{
std::vector<CLong> v;
v.push_back(1L);
v.push_back(4L);
v.push_back(9L);

CLong csum(0);

csum = accumulate( v.begin(), v.end(), csum, mem_fun1_ref(&CLong::operator+));

cout << "sum: " << csum.Val();
return 0;
}
GeneralRe: for_each / accumulate Pin
jbarton10-Apr-03 2:34
jbarton10-Apr-03 2:34 
GeneralCListCtrl as STL container Pin
Chris Losinger4-Apr-03 4:04
professionalChris Losinger4-Apr-03 4:04 
GeneralRe: CListCtrl as STL container Pin
Joaquín M López Muñoz4-Apr-03 4:14
Joaquín M López Muñoz4-Apr-03 4:14 
GeneralRe: CListCtrl as STL container Pin
Chris Losinger4-Apr-03 4:25
professionalChris Losinger4-Apr-03 4:25 
GeneralRe: CListCtrl as STL container Pin
Nick Parker4-Apr-03 4:38
protectorNick Parker4-Apr-03 4:38 
GeneralRe: CListCtrl as STL container Pin
Chris Losinger4-Apr-03 4:52
professionalChris Losinger4-Apr-03 4:52 
GeneralRe: CListCtrl as STL container Pin
Neville Franks12-Apr-03 12:13
Neville Franks12-Apr-03 12:13 
GeneralCustom property pages for device manager using WTL Pin
NarayanaRajaniX3-Apr-03 17:31
NarayanaRajaniX3-Apr-03 17:31 
QuestionHow to create Transparent Bitmap? Pin
jkav3-Apr-03 16:43
jkav3-Apr-03 16:43 
AnswerRe: How to create Transparent Bitmap? Pin
Ed Gadziemski7-Apr-03 4:56
professionalEd Gadziemski7-Apr-03 4:56 
Generalusing cin.getline() with string Pin
Luis E. Cuadrado3-Apr-03 2:47
Luis E. Cuadrado3-Apr-03 2:47 
GeneralRe: using cin.getline() with string Pin
valikac3-Apr-03 13:31
valikac3-Apr-03 13:31 
GeneralRe: using cin.getline() with string Pin
Luis E. Cuadrado4-Apr-03 1:55
Luis E. Cuadrado4-Apr-03 1:55 
GeneralRe: using cin.getline() with string Pin
Joaquín M López Muñoz4-Apr-03 2:33
Joaquín M López Muñoz4-Apr-03 2:33 
GeneralRe: using cin.getline() with string Pin
Luis E. Cuadrado4-Apr-03 5:34
Luis E. Cuadrado4-Apr-03 5:34 
GeneralSTL Fix Pin
Derek Lakin30-Mar-03 21:51
Derek Lakin30-Mar-03 21:51 
GeneralRe: STL Fix Pin
jhwurmbach30-Mar-03 22:28
jhwurmbach30-Mar-03 22:28 

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.