Hi everyone, I want to excess a operate according to a wide range dimension or perhaps tips.
Ex:

int calc(int a[]);
int calc(int a[][]);

as well as

int calc(int *a);
int calc(int **a);

*a ought to be &a however i don't realize how to encounter any research of an reference i really wrote regarding greater understading...

This should be moved from te C forum to the C++ forum

My suggestion is for you to just write each of those functions in your class and make some examples that call your methods.

My suspicion is that you will get an error saying they are ambiguous and you will need to remove two of them.

There are plenty of examples on method overloading on the web.

You can not have overloading definitions in C.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.