In C++ - How to call different functions operations by user? I have three
or more user operations - OP1(e.g. SEND1), OP2(e.g. READ1), OP3(Modify1),
OP4(Cancel) and OP3(Error), etc.
Your question makes no sense to me. Did you intend to post this to
comp.lang.c++? You list four things (presumably functions) and then
indicate each one has different arguments. To call a function you write the
name of the function followed by an optional list of arguments in
parenthesis. Mind reading is a dangerous game, but I note that your
functions seem to be what are called procedures in most languages, C++ does
not have procedures, you call a function which returns a "void".
If you meant member functions, you should have said so. There is no prize
for using the absolute minimum number of words in your question.