Hi
I am having problems seperating my program into classes rather than just having everything in one class.
The program I am working on reads data from file, places it into an array and then does stuff to it. At the moment I have two classes, one that takes user input, the other does everything else. I would like to be able to seperate the second class into classes that can read values into the array, check through the array and alter it, etc.
I have put a simplified version of my two classes at
If someone could suggest to me how to go about seperating these into neater
classes?
Thanks
I am having problems seperating my program into classes rather than just having everything in one class.
The program I am working on reads data from file, places it into an array and then does stuff to it. At the moment I have two classes, one that takes user input, the other does everything else. I would like to be able to seperate the second class into classes that can read values into the array, check through the array and alter it, etc.
I have put a simplified version of my two classes at
If someone could suggest to me how to go about seperating these into neater
classes?
Thanks