Click here to Skip to main content
15,921,941 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionColors for Buttons, Edit controls, dialogs and etc Pin
Jayapal Chandran7-Jun-07 0:28
Jayapal Chandran7-Jun-07 0:28 
AnswerRe: Colors for Buttons, Edit controls, dialogs and etc Pin
prasad_som7-Jun-07 0:36
prasad_som7-Jun-07 0:36 
AnswerRe: Colors for Buttons, Edit controls, dialogs and etc Pin
Hamid_RT7-Jun-07 19:51
Hamid_RT7-Jun-07 19:51 
QuestionHow to insert a new task group at Windows Explorer Page Pin
Kazmasa7-Jun-07 0:18
Kazmasa7-Jun-07 0:18 
QuestionCreate Mail in Outlook Inbox (not for sending) Pin
gunkel7-Jun-07 0:11
gunkel7-Jun-07 0:11 
AnswerRe: Create Mail in Outlook Inbox (not for sending) Pin
David Crow7-Jun-07 3:37
David Crow7-Jun-07 3:37 
QuestionRe: Create Mail in Outlook Inbox (not for sending) Pin
gunkel7-Jun-07 6:50
gunkel7-Jun-07 6:50 
QuestionRe: Create Mail in Outlook Inbox (not for sending) Pin
David Crow7-Jun-07 7:01
David Crow7-Jun-07 7:01 
QuestionRe: Create Mail in Outlook Inbox (not for sending) Pin
gunkel7-Jun-07 8:17
gunkel7-Jun-07 8:17 
Questionwriting ftp program using win23 api Pin
Jayapal Chandran7-Jun-07 0:04
Jayapal Chandran7-Jun-07 0:04 
AnswerRe: writing ftp program using win23 api Pin
Paresh Chitte7-Jun-07 1:23
Paresh Chitte7-Jun-07 1:23 
AnswerRe: writing ftp program using win23 api Pin
Programm3r7-Jun-07 1:50
Programm3r7-Jun-07 1:50 
QuestionRe: writing ftp program using win23 api Pin
David Crow7-Jun-07 3:50
David Crow7-Jun-07 3:50 
QuestionSet password to mdb file Pin
RockyJames7-Jun-07 0:03
RockyJames7-Jun-07 0:03 
AnswerRe: Set password to mdb file Pin
David Crow7-Jun-07 4:05
David Crow7-Jun-07 4:05 
Questioncheck how many variable arguments are passed? Pin
hansipet6-Jun-07 23:47
hansipet6-Jun-07 23:47 
AnswerRe: check how many variable arguments are passed? Pin
BadKarma6-Jun-07 23:49
BadKarma6-Jun-07 23:49 
AnswerRe: check how many variable arguments are passed? Pin
Roger Stoltz7-Jun-07 0:29
Roger Stoltz7-Jun-07 0:29 
GeneralRe: check how many variable arguments are passed? Pin
hansipet7-Jun-07 0:58
hansipet7-Jun-07 0:58 
GeneralRe: check how many variable arguments are passed? Pin
CPallini7-Jun-07 1:39
mveCPallini7-Jun-07 1:39 
GeneralRe: check how many variable arguments are passed? Pin
hansipet7-Jun-07 2:38
hansipet7-Jun-07 2:38 
GeneralRe: check how many variable arguments are passed? Pin
CPallini7-Jun-07 2:59
mveCPallini7-Jun-07 2:59 
GeneralRe: check how many variable arguments are passed? Pin
hansipet7-Jun-07 3:13
hansipet7-Jun-07 3:13 
The marker is not so a good was i think...
The problem is that it is not possible to define 2 methods in a class (same name). One with variable length parameter and one without...This would be the best solution for me too...

I want to make a logger class in this way...

class Logger{
void Log(LPCSTR format,...);
void Log(LPCSTR message);
}

something like that. It is easier for the user to have allways the same name...Do you know any solution for that? arrays are also not so good..it's not easy to use...

if not I have to give the function another name.... Frown | :(

Best regards

hansjörg
GeneralRe: check how many variable arguments are passed? Pin
CPallini7-Jun-07 3:24
mveCPallini7-Jun-07 3:24 
GeneralRe: check how many variable arguments are passed? Pin
hansipet7-Jun-07 3:43
hansipet7-Jun-07 3:43 

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.