Click here to Skip to main content
16,007,126 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ShellExecute / Multi-Instances Pin
JoeSox12-Nov-02 3:58
JoeSox12-Nov-02 3:58 
GeneralDesign Recommendation. Warning - long-g-g. Pin
11-Nov-02 9:43
suss11-Nov-02 9:43 
QuestionWhich font is it using? Pin
ed987111-Nov-02 9:26
ed987111-Nov-02 9:26 
AnswerRe: Which font is it using? Pin
Dave Bryant11-Nov-02 9:57
Dave Bryant11-Nov-02 9:57 
GeneralSTL rambling... Function object adaptors .. Pin
Maximilien11-Nov-02 9:21
Maximilien11-Nov-02 9:21 
GeneralRe: STL rambling... Function object adaptors .. Pin
Daniel Turini11-Nov-02 9:42
Daniel Turini11-Nov-02 9:42 
GeneralRe: STL rambling... Function object adaptors .. Pin
Maximilien11-Nov-02 10:02
Maximilien11-Nov-02 10:02 
GeneralRe: STL rambling... Function object adaptors .. Pin
peterchen11-Nov-02 9:50
peterchen11-Nov-02 9:50 
As far as I understand it:

bind2nd: can turn an fun(x,y) function call into an g(x):=f(x,y) with constant y

mem_fun1: can turn an one-param object member function into an two-param global function, e.g. y->member(x) ==> non_member(x,y)

i.e. to call a one-arg member function, you first turn it into a two-arg global function, than reduce it to a one-arg global function (making the second param constant)

I may be far wrong here, though.

Maximilien wrote:
Why use the binder and mem_fun functions while it can be done with a simple for loop

because STL is better? I really don't know...




skulls don't kiss  for an explanation - wait for the vacation photos!   [sighist]
GeneralRe: STL rambling... Function object adaptors .. Pin
Tim Smith11-Nov-02 10:03
Tim Smith11-Nov-02 10:03 
GeneralRe: STL rambling... Function object adaptors .. Pin
peterchen11-Nov-02 14:07
peterchen11-Nov-02 14:07 
Questionattaching my own menu bar?? Pin
pnpfriend11-Nov-02 8:52
pnpfriend11-Nov-02 8:52 
AnswerRe: attaching my own menu bar?? Pin
Mash11-Nov-02 10:30
Mash11-Nov-02 10:30 
GeneralRe: attaching my own menu bar?? Pin
pnpfriend11-Nov-02 11:03
pnpfriend11-Nov-02 11:03 
GeneralRe: attaching my own menu bar?? Pin
Mash11-Nov-02 12:07
Mash11-Nov-02 12:07 
GeneralRe: attaching my own menu bar?? Pin
pnpfriend12-Nov-02 8:33
pnpfriend12-Nov-02 8:33 
QuestionItem Selection Notification? Pin
Mash11-Nov-02 8:50
Mash11-Nov-02 8:50 
GeneralDialog Resize Pin
SavageBeast11-Nov-02 8:12
SavageBeast11-Nov-02 8:12 
GeneralRe: Dialog Resize Pin
Anonymous11-Nov-02 8:30
Anonymous11-Nov-02 8:30 
GeneralWorkspace name Pin
meirav11-Nov-02 8:06
meirav11-Nov-02 8:06 
GeneralRe: Workspace name Pin
SavageBeast11-Nov-02 8:14
SavageBeast11-Nov-02 8:14 
GeneralRe: Workspace name Pin
beetung11-Nov-02 8:24
beetung11-Nov-02 8:24 
GeneralCStatic center vert with wordbreak Pin
Dave_11-Nov-02 7:46
Dave_11-Nov-02 7:46 
GeneralFarsi language in VC++ .NET Pin
Hadi Rezaee11-Nov-02 7:42
Hadi Rezaee11-Nov-02 7:42 
GeneralRe: Farsi language in VC++ .NET Pin
Mazdak12-Nov-02 4:35
Mazdak12-Nov-02 4:35 
GeneralRe: Farsi language in VC++ .NET Pin
Hadi Rezaee12-Nov-02 5:49
Hadi Rezaee12-Nov-02 5:49 

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.