Click here to Skip to main content
15,888,803 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionStructure??? Pin
Programm3r31-Aug-06 22:47
Programm3r31-Aug-06 22:47 
AnswerRe: Structure??? [modified] Pin
toxcct31-Aug-06 22:54
toxcct31-Aug-06 22:54 
GeneralRe: Structure??? Pin
Programm3r31-Aug-06 23:02
Programm3r31-Aug-06 23:02 
GeneralRe: Structure??? Pin
MayankT1-Sep-06 0:23
MayankT1-Sep-06 0:23 
GeneralRe: Structure??? Pin
lemur21-Sep-06 1:20
lemur21-Sep-06 1:20 
GeneralRe: Structure??? Pin
MayankT1-Sep-06 2:00
MayankT1-Sep-06 2:00 
GeneralRe: Structure??? Pin
toxcct1-Sep-06 2:01
toxcct1-Sep-06 2:01 
GeneralRe: Structure??? Pin
MayankT1-Sep-06 2:08
MayankT1-Sep-06 2:08 
toxcct wrote:
the last standard (or the future one) prevents to use the notation without the address operator...


this is good to remove the slight confusion...

is there something planned for using function pointers as well?

like:

<br />
voif func () {}<br />
<br />
void (*func_ptr) ();<br />
<br />
func_ptr = &func;<br />
<br />
(*func_ptr)(); // this is clear on a function pointer being used<br />
func_ptr (); // this one is not and could be dropped (though this looks cleaner)<br />
<br />


----------------------
Mayank Thakore
Learning C++ - since 1998

They didn't print my card right; so I resigned.

GeneralRe: Structure??? Pin
toxcct1-Sep-06 2:20
toxcct1-Sep-06 2:20 
GeneralRe: Structure??? Pin
toxcct1-Sep-06 1:49
toxcct1-Sep-06 1:49 
QuestionRe: Structure??? Pin
prasad_som31-Aug-06 22:56
prasad_som31-Aug-06 22:56 
GeneralRe: Structure??? Pin
Programm3r31-Aug-06 23:04
Programm3r31-Aug-06 23:04 
QuestionTemplate classes Pin
Waldermort31-Aug-06 22:33
Waldermort31-Aug-06 22:33 
AnswerRe: Template classes Pin
toxcct31-Aug-06 22:40
toxcct31-Aug-06 22:40 
GeneralRe: Template classes Pin
Waldermort31-Aug-06 22:45
Waldermort31-Aug-06 22:45 
GeneralRe: Template classes Pin
Waldermort31-Aug-06 22:53
Waldermort31-Aug-06 22:53 
GeneralRe: Template classes Pin
toxcct31-Aug-06 22:56
toxcct31-Aug-06 22:56 
GeneralRe: Template classes Pin
Waldermort31-Aug-06 23:06
Waldermort31-Aug-06 23:06 
GeneralRe: Template classes Pin
toxcct31-Aug-06 23:08
toxcct31-Aug-06 23:08 
GeneralRe: Template classes Pin
Waldermort31-Aug-06 23:15
Waldermort31-Aug-06 23:15 
GeneralRe: Template classes Pin
toxcct31-Aug-06 23:19
toxcct31-Aug-06 23:19 
GeneralRe: Template classes Pin
Waldermort31-Aug-06 23:27
Waldermort31-Aug-06 23:27 
GeneralRe: Template classes Pin
Zac Howland1-Sep-06 4:18
Zac Howland1-Sep-06 4:18 
GeneralRe: Template classes Pin
toxcct1-Sep-06 4:47
toxcct1-Sep-06 4:47 
AnswerRe: Template classes Pin
prasad_som31-Aug-06 22:44
prasad_som31-Aug-06 22:44 

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.