using / calling function from another class
how can i use a functions created in another class? do i have to inherit something? or declare something? how? because it says "Name 'GetData' is not declared."
Basically, i am trying to call a function (let's say GetData())that is in Class1 from Class2.
how can i use a functions created in another class? do i have to inherit something? or declare something? how? because it says "Name 'GetData' is not declared."
Basically, i am trying to call a function (let's say GetData())that is in Class1 from Class2.