enum STATE {Backup, Apply, Restore};
void Patch(enum STATE);
int main()
{
Patch(Bachup);
Patch(Apply);
Patch(Restore);
}
void Patch(STATE eType)
{
switch (eType)
{
case Backup :
break;
case Apply :
break;
case Restore :
break;
}
}
void Patch(enum STATE);
int main()
{
Patch(Bachup);
Patch(Apply);
Patch(Restore);
}
void Patch(STATE eType)
{
switch (eType)
{
case Backup :
break;
case Apply :
break;
case Restore :
break;
}
}
덧글을 달아 주세요