Just Like This: class Graph { public: type VariableName; type FunctionName; }; VariableName is Domain,not Property; FunctionName is Method And Property is a name used to call Access Method,Only in Delphi. Graph myGraph; //myGraph is an instance of class Graph after call the constructor function
class Graph
{
public:
type VariableName;
type FunctionName;
};
VariableName is Domain,not Property;
FunctionName is Method
And Property is a name used to call Access Method,Only in Delphi.
Graph myGraph;
//myGraph is an instance of class Graph after call the constructor function