I was wondering if this code is correct syntax for function parameters in a class?
class myclass
{
private:
char mystring[50];
int length(char string[]);
public:
int yourlen(){
return length(_string, _string);
I know later in my code, I would have something like this:
mystring A;
char string[50], string2[50];
a.youlen(string, string2);