Of course it is possible. You can overload operator>> to read into a Point. Then you can overload operator>> to read Point objects into a Path. Then you can write the code to read Path objects from a file into a vector<Path> or PathCollection. To start with, use what you know of reading integers provided by a user at the command line (i.e., cin >> num).
And as you can see i declared public function unos_tocaka. With it i would like to read numbers and store collection of paths in class. Is this possible and if it is how?