Hi, I know this is a easy question but no one knows everythyng.
In my program i add a c++ file where i create a function.
In that function i want to pass two diferents arguments but one at a time in diferents ocasions.
ex.
CProcura dlg;//modal dialog box class
if(flag==1)
int x=Procura(dlg.m_name);
else
int x=Procura(dlg.m_number);
where m_name is a CString type and m_number is a int type.
The function was declared like: int Procura(void z);
Is that possible and correct?
Thank you in advance!
In my program i add a c++ file where i create a function.
In that function i want to pass two diferents arguments but one at a time in diferents ocasions.
ex.
CProcura dlg;//modal dialog box class
if(flag==1)
int x=Procura(dlg.m_name);
else
int x=Procura(dlg.m_number);
where m_name is a CString type and m_number is a int type.
The function was declared like: int Procura(void z);
Is that possible and correct?
Thank you in advance!