#include<iostream>
#include<string>
using namespace std;
class Prerequisites
{
public:
void orderClasses(string* Input);
};
void Prerequisites::orderClasses(string* Input)
{
// Need to find the length of the array Input
}
int main()
{
Prerequisites A;
string classes[]={"CSE121: CSE110",
"CSE110:",
"MATH122:"
};
A.orderClasses(classes);
}
I need to find the length of the array classes[] in the methos orderClasses. I cannot alter the signature of the method orderClasses ! That is a requirement.