Click here to Skip to main content
15,896,606 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how the macro works Pin
toxcct12-Dec-07 3:01
toxcct12-Dec-07 3:01 
GeneralRe: how the macro works Pin
Iain Clarke, Warrior Programmer12-Dec-07 2:57
Iain Clarke, Warrior Programmer12-Dec-07 2:57 
AnswerRe: how the macro works Pin
David Crow13-Dec-07 4:57
David Crow13-Dec-07 4:57 
GeneralRe: how the macro works Pin
George_George13-Dec-07 22:43
George_George13-Dec-07 22:43 
GeneralShell_NotifyIcon sends which messages to the traybar, I'd like to hook it. Pin
followait11-Dec-07 23:27
followait11-Dec-07 23:27 
QuestionRe: Shell_NotifyIcon sends which messages to the traybar, I'd like to hook it. Pin
David Crow13-Dec-07 5:02
David Crow13-Dec-07 5:02 
Generaldone Pin
followait13-Dec-07 15:26
followait13-Dec-07 15:26 
GeneralDuplicatehandle Pin
vikramlinux11-Dec-07 22:57
vikramlinux11-Dec-07 22:57 
GeneralRe: Duplicatehandle Pin
David Crow13-Dec-07 5:04
David Crow13-Dec-07 5:04 
Generalcheckbox treeview Pin
DevMentor.org11-Dec-07 22:47
DevMentor.org11-Dec-07 22:47 
GeneralRe: checkbox treeview Pin
DevMentor.org12-Dec-07 1:19
DevMentor.org12-Dec-07 1:19 
Generalsimple dialog problem Pin
neha.agarwal2711-Dec-07 22:45
neha.agarwal2711-Dec-07 22:45 
GeneralRe: simple dialog problem Pin
CPallini11-Dec-07 22:54
mveCPallini11-Dec-07 22:54 
GeneralRe: simple dialog problem Pin
ThatsAlok13-Dec-07 0:17
ThatsAlok13-Dec-07 0:17 
GeneralRe: simple dialog problem Pin
David Crow13-Dec-07 5:06
David Crow13-Dec-07 5:06 
Generaltemplate function issue Pin
George_George11-Dec-07 22:39
George_George11-Dec-07 22:39 
GeneralRe: template function issue Pin
Matthew Faithfull11-Dec-07 23:03
Matthew Faithfull11-Dec-07 23:03 
GeneralRe: template function issue Pin
George_George12-Dec-07 0:15
George_George12-Dec-07 0:15 
GeneralRe: template function issue Pin
Matthew Faithfull12-Dec-07 2:51
Matthew Faithfull12-Dec-07 2:51 
GeneralRe: template function issue Pin
George_George12-Dec-07 3:22
George_George12-Dec-07 3:22 
Questionwhat it mean ? Pin
john563211-Dec-07 22:32
john563211-Dec-07 22:32 
AnswerRe: what it mean ? Pin
Cedric Moonen11-Dec-07 22:38
Cedric Moonen11-Dec-07 22:38 
inline means that the function is inlined (the compiler will replace a call to the function by the code of the function itself). Search for inline on google

The & means that the function returns a reference to the object instead of a copy of the object. By default, in C++ when you pass arguments to a function, you will in fact have a copy of the object, not the original object. The same with the return of the function: you will get a copy of the object. By using the reference, it means that you will get the original object, not a copy (so, if you modify it outside the class, it will be modified in the class also).

But I think your code is wrong: you forgot the class name (or is does it come from a header file ? If yes, the inline is not needed).



Cédric Moonen
Software developer

Charting control [v1.2]

AnswerRe: what it mean ? Pin
ThatsAlok13-Dec-07 0:18
ThatsAlok13-Dec-07 0:18 
Generalcannot convert from 'char *' to 'unsigned short *' Pin
santhoshv8411-Dec-07 21:50
santhoshv8411-Dec-07 21:50 
GeneralRe: cannot convert from 'char *' to 'unsigned short *' Pin
Cedric Moonen11-Dec-07 21:55
Cedric Moonen11-Dec-07 21:55 

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.