I prepares to write a simple console program.
The program will have the task:
1) - Add new record
2) - Edit record
3) - List records
4) - Delete record
Database: txt file.
I would like to use Desing Patterns in this program. I wonder what patterns of use? And at what place?
I plan to create two classes.
1 class that will be operated on the file (read/write)
2 class which will be operated on records (cd ID, cd name, list cd etc)
My plan is good? I would like to use many object-oriented programming.
Aucun commentaire:
Enregistrer un commentaire