Click here to Skip to main content
15,914,820 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Displaying Message Box while program(code) continues [modified] Pin
Ștefan-Mihai MOGA30-May-06 22:39
professionalȘtefan-Mihai MOGA30-May-06 22:39 
AnswerRe: Displaying Message Box while program(code) continues [modified] Pin
toxcct31-May-06 0:06
toxcct31-May-06 0:06 
GeneralRe: Displaying Message Box while program(code) continues Pin
ThatsAlok31-May-06 0:15
ThatsAlok31-May-06 0:15 
GeneralRe: Displaying Message Box while program(code) continues Pin
toxcct31-May-06 0:17
toxcct31-May-06 0:17 
GeneralRe: Displaying Message Box while program(code) continues Pin
ThatsAlok31-May-06 0:42
ThatsAlok31-May-06 0:42 
GeneralRe: Displaying Message Box while program(code) continues Pin
toxcct31-May-06 0:58
toxcct31-May-06 0:58 
GeneralRe: Displaying Message Box while program(code) continues Pin
ThatsAlok31-May-06 1:54
ThatsAlok31-May-06 1:54 
QuestionBitmap Planes Pin
Sarath C30-May-06 20:41
Sarath C30-May-06 20:41 
AnswerRe: Bitmap Planes Pin
Steve Echols30-May-06 21:57
Steve Echols30-May-06 21:57 
GeneralRe: Bitmap Planes Pin
NiceNaidu30-May-06 22:52
NiceNaidu30-May-06 22:52 
Question.obj, .lib and .dll? Pin
Polite Programmer30-May-06 20:40
Polite Programmer30-May-06 20:40 
AnswerRe: .obj, .lib and .dll? Pin
Cedric Moonen30-May-06 21:03
Cedric Moonen30-May-06 21:03 
GeneralRe: .obj, .lib and .dll? Pin
NiceNaidu30-May-06 21:19
NiceNaidu30-May-06 21:19 
GeneralRe: .obj, .lib and .dll? Pin
Polite Programmer31-May-06 19:15
Polite Programmer31-May-06 19:15 
QuestionOptional arguments Pin
SWDevil30-May-06 20:39
SWDevil30-May-06 20:39 
AnswerRe: Optional arguments Pin
Nibu babu thomas30-May-06 20:48
Nibu babu thomas30-May-06 20:48 
AnswerRe: Optional arguments Pin
_anil_30-May-06 21:00
_anil_30-May-06 21:00 
GeneralRe: Optional arguments Pin
SWDevil30-May-06 21:16
SWDevil30-May-06 21:16 
GeneralRe: Optional arguments Pin
Cedric Moonen30-May-06 21:18
Cedric Moonen30-May-06 21:18 
GeneralRe: Optional arguments Pin
Owner drawn30-May-06 21:25
Owner drawn30-May-06 21:25 
GeneralRe: Optional arguments Pin
ThatsAlok30-May-06 23:59
ThatsAlok30-May-06 23:59 
GeneralRe: Optional arguments Pin
Rajesh R Subramanian9-Oct-06 21:54
professionalRajesh R Subramanian9-Oct-06 21:54 
GeneralRe: Optional arguments Pin
Owner drawn16-Oct-06 19:25
Owner drawn16-Oct-06 19:25 
GeneralRe: Optional arguments Pin
_anil_30-May-06 21:29
_anil_30-May-06 21:29 
AnswerRe: Optional arguments Pin
toxcct30-May-06 21:46
toxcct30-May-06 21:46 
why not putting the F parameter between C and D ?

void foo(int A, int B, int C, int F = -1, int D = -1, int E = -1) {
    //...
}

so that you can use it like this :
int A, B, C, D, E, F;
 
foo(A, B, C);            // A  B  C -1 -1 -1
foo(A, B, C, F);         // A  B  C -1 -1  F
foo(A, B, C, F, D);      // A  B  C  D -1  F
foo(A, B, C, F, D, E);   // A  B  C  D  E  F



TOXCCT >>> GEII power

[VisualCalc 3.0  updated ][Flags Beginner's Guide  new! ]

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.