C++ - Calling multiple functions or operations ..??

S

ssmile03

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.

Thanks!!
 
I

Ian Collins

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.

What's your problem? just call them.
 
O

osmium

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.
 
G

Geoff

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.

You appear to be asking how to use overridden (or not) operators of
some kind of class object. The usage of those operators will depend on
the public interface of the class. No one can answer your question
without knowing how that public interface is defined.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,022
Latest member
MaybelleMa

Latest Threads

Top