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

C / C++ / MFC

 
AnswerRe: How to get the Error string of WSAGetLastError() Error code? Pin
David Crow28-Mar-07 6:59
David Crow28-Mar-07 6:59 
AnswerRe: How to get the Error string of WSAGetLastError() Error code? Pin
TurboNext28-Mar-07 7:04
TurboNext28-Mar-07 7:04 
Questioncompile error: storage size of 'var' isn't known Pin
George_George28-Mar-07 5:46
George_George28-Mar-07 5:46 
AnswerRe: compile error: storage size of 'var' isn't known Pin
David Crow28-Mar-07 5:59
David Crow28-Mar-07 5:59 
AnswerRe: compile error: storage size of 'var' isn't known Pin
Nemanja Trifunovic28-Mar-07 6:28
Nemanja Trifunovic28-Mar-07 6:28 
GeneralRe: compile error: storage size of 'var' isn't known Pin
George_George2-Apr-07 20:45
George_George2-Apr-07 20:45 
AnswerRe: compile error: storage size of 'var' isn't known Pin
prasad_som28-Mar-07 6:33
prasad_som28-Mar-07 6:33 
GeneralRe: compile error: storage size of 'var' isn't known Pin
Mark Salsbery28-Mar-07 7:15
Mark Salsbery28-Mar-07 7:15 
What makes "typedef struct {} name" better than just "struct name"?

Last I heard (a long time ago), using typedef for a struct like this is redundant.
I can see that it's cool to use one line to define the type and a variable, but using struct
like

struct name
{
};

defines a type so typedef is redundant (unless you want to define an alias).

I would say that this is the popular way, not the standard way.

Thanks,
Mark


"If you can dodge a wrench, you can dodge a ball."

GeneralRe: compile error: storage size of 'var' isn't known Pin
David Crow28-Mar-07 7:47
David Crow28-Mar-07 7:47 
GeneralRe: compile error: storage size of 'var' isn't known Pin
Mark Salsbery28-Mar-07 8:05
Mark Salsbery28-Mar-07 8:05 
GeneralRe: compile error: storage size of 'var' isn't known [modified] Pin
toxcct28-Mar-07 8:20
toxcct28-Mar-07 8:20 
GeneralRe: compile error: storage size of 'var' isn't known Pin
David Crow28-Mar-07 8:24
David Crow28-Mar-07 8:24 
GeneralRe: compile error: storage size of 'var' isn't known Pin
Eytukan29-Mar-07 1:41
Eytukan29-Mar-07 1:41 
GeneralRe: compile error: storage size of 'var' isn't known Pin
George_George2-Apr-07 21:38
George_George2-Apr-07 21:38 
GeneralRe: compile error: storage size of 'var' isn't known Pin
toxcct28-Mar-07 8:21
toxcct28-Mar-07 8:21 
GeneralRe: compile error: storage size of 'var' isn't known Pin
Mark Salsbery28-Mar-07 8:26
Mark Salsbery28-Mar-07 8:26 
GeneralRe: compile error: storage size of 'var' isn't known Pin
Stephen Hewitt28-Mar-07 13:44
Stephen Hewitt28-Mar-07 13:44 
GeneralRe: compile error: storage size of 'var' isn't known Pin
George_George2-Apr-07 20:56
George_George2-Apr-07 20:56 
GeneralRe: compile error: storage size of 'var' isn't known Pin
George_George2-Apr-07 21:20
George_George2-Apr-07 21:20 
Questionhow to send mouseclickmsg to window? Pin
Goggelmoggel28-Mar-07 5:17
Goggelmoggel28-Mar-07 5:17 
AnswerRe: how to send mouseclickmsg to window? Pin
David Crow28-Mar-07 5:54
David Crow28-Mar-07 5:54 
GeneralRe: how to send mouseclickmsg to window? Pin
Goggelmoggel28-Mar-07 6:05
Goggelmoggel28-Mar-07 6:05 
QuestionRe: how to send mouseclickmsg to window? Pin
David Crow28-Mar-07 6:30
David Crow28-Mar-07 6:30 
AnswerRe: how to send mouseclickmsg to window? Pin
prasad_som28-Mar-07 6:26
prasad_som28-Mar-07 6:26 
GeneralRe: how to send mouseclickmsg to window? Pin
Goggelmoggel28-Mar-07 6:32
Goggelmoggel28-Mar-07 6:32 

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.