Answer the question
In order to leave comments, you need to log in
Classes, calling methods?
//Here is an instance of the Team class
class Competition {
private:
Team team[20];
public:
void Set(string _name, string _kind_of_sport, int _number_of_teams, string _date, string _location);
class Team {
public:
void TeamChange();
}
Competition comp;
comp.team.TeamChange();
Answer the question
In order to leave comments, you need to log in
It is possible, only you clearly confused the syntax of the php language
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question