K
Krice
I have a project which has mixed C and C++. Some procedural functions
require an argument which points to the proper array position. The
problem looks something like this:
void My_Class::My_Function()
{
call_procedural(id);
...
ci[id].My_Function();
Is there another way to pass id to call_procedural(id); than
ci[id].My_Function(int id);
Or is this just bad desing I should avoid and write proper member
functions?
require an argument which points to the proper array position. The
problem looks something like this:
void My_Class::My_Function()
{
call_procedural(id);
...
ci[id].My_Function();
Is there another way to pass id to call_procedural(id); than
ci[id].My_Function(int id);
Or is this just bad desing I should avoid and write proper member
functions?