Hi, I have two classes in two separate .cpp files. I obtain a string using cin and then I need to use this string in a method in a separate class. If that makes sense..
class HomePage{
static void HsubmitChangeDutyRequests(string)
{
Duties::submitChangeDutyRequests(string);}
}
class Duties{
static void submitChangeDutyRequests(string);
}
This is basically what I have. I get the string from the HomePage class and then I use the method from the Duties class in the HomePage class using the string obtained. Again if that makes sense...
Sorry for the confusing questions..