init

Write your question here.

1
2
3
4
5
6
7
8
9
10
11
 // dot.h

class Dot {
  private:
    int x, y;
  public: 
    void init(int x1, int y1);
    int getX();
    int getY();
    void print();
};


Please, is that void function named init sth we have to define later ,or is it a standard word for sth?
Many thanks!!!
What does "sth" mean?

In any case, the init() function isn't special; you must define it.
Hello!
"sth" stands for "something"!
Thank U!!!
:)
Topic archived. No new replies allowed.