Click here to Skip to main content
16,008,490 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Randomic functions ? Pin
Cris1-Aug-02 2:46
Cris1-Aug-02 2:46 
GeneralRe: Randomic functions ? Pin
Chunky Chicken1-Aug-02 2:56
sussChunky Chicken1-Aug-02 2:56 
GeneralRe: Randomic functions ? Pin
[CoY0te]1-Aug-02 3:25
[CoY0te]1-Aug-02 3:25 
GeneralRe: Randomic functions ? Pin
Joaquín M López Muñoz1-Aug-02 7:22
Joaquín M López Muñoz1-Aug-02 7:22 
GeneralVariable Argument list Pin
Wolfram Steinke1-Aug-02 1:37
Wolfram Steinke1-Aug-02 1:37 
GeneralRe: Variable Argument list Pin
Brian Azzopardi1-Aug-02 1:44
Brian Azzopardi1-Aug-02 1:44 
GeneralRe: Variable Argument list Pin
Tim Smith1-Aug-02 2:06
Tim Smith1-Aug-02 2:06 
GeneralRe: Variable Argument list Pin
Anonymous1-Aug-02 2:06
Anonymous1-Aug-02 2:06 
According to the spec for var args:

It is upto the calling routine to specify in some manner how many arguments there are, since it is not always possible to determine the number of arguments from the stack frame

Best way would be to pass a parameter before the var args specifying how many arguments are found or, like sprintf, just trawl through the arguments and hope they are all there. Neither are particulary robust...
QuestionWhat's my IP? Pin
BlackSmith1-Aug-02 1:34
BlackSmith1-Aug-02 1:34 
AnswerRe: What's my IP? Pin
Brian Azzopardi1-Aug-02 1:39
Brian Azzopardi1-Aug-02 1:39 
Generalgethostname() Doesn't work. Pin
BlackSmith1-Aug-02 2:52
BlackSmith1-Aug-02 2:52 
GeneralRe: gethostname() Doesn't work. Pin
Slinky Chicken1-Aug-02 3:19
sussSlinky Chicken1-Aug-02 3:19 
AnswerRe: What's my IP? Pin
includeh101-Aug-02 4:03
includeh101-Aug-02 4:03 
GeneralATL & HWND_BROADCAST Pin
AJ1231-Aug-02 0:34
AJ1231-Aug-02 0:34 
GeneralRe: ATL & HWND_BROADCAST Pin
Wolfram Steinke1-Aug-02 1:39
Wolfram Steinke1-Aug-02 1:39 
Generalbind Pin
Hans Ruck1-Aug-02 0:29
Hans Ruck1-Aug-02 0:29 
GeneralRe: bind Pin
Brian Azzopardi1-Aug-02 1:56
Brian Azzopardi1-Aug-02 1:56 
GeneralRe: bind Pin
[CoY0te]1-Aug-02 1:58
[CoY0te]1-Aug-02 1:58 
GeneralRe: bind Pin
[CoY0te]1-Aug-02 2:07
[CoY0te]1-Aug-02 2:07 
GeneralRe: bind Pin
Hans Ruck1-Aug-02 2:15
Hans Ruck1-Aug-02 2:15 
GeneralFile Management Pin
Ruca1-Aug-02 0:27
Ruca1-Aug-02 0:27 
GeneralRe: File Management Pin
Prem Kumar1-Aug-02 0:39
Prem Kumar1-Aug-02 0:39 
GeneralNew to VC++ Pin
Venkatraman1-Aug-02 0:14
Venkatraman1-Aug-02 0:14 
GeneralRe: New to VC++ Pin
Ruca1-Aug-02 0:47
Ruca1-Aug-02 0:47 
GeneralRe: New to VC++ Pin
Venkatraman1-Aug-02 1:44
Venkatraman1-Aug-02 1: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.