Answer the question
In order to leave comments, you need to log in
How to design a program correctly?
Hello everyone, I have a question. It was necessary to write a program that removes traces of flash drives from a computer with windows 7/8/10. I wrote the program, but I don’t like how it turned out at all and I want to listen to the opinion of those who have more experience in this. The essence of the program, deleting certain files, clearing logs, and a complex enumeration of keys in the registry. First, the number of ControlSets is determined in the registry and devices and keys are searched from there, by keywords, or based on previously received data. There are also many predefined paths. I had to write a lot of small functions, and a lot of variables where I have to store ControlSets / Users and found keys, values, VID_&PID_ and a lot of things. I wrote all this in the form of one class in which at the end there were many variables and functions, Yes, it has become very difficult. And I feel that it all turned out very ugly. Here's how to do it beautifully and well architecturally?
Answer the question
In order to leave comments, you need to log in
I wrote all this in the form of one class in which at the end there were many variables and functions, and everything became very complicated.
The essence of the program, deleting certain files, clearing logs, and a complex enumeration of keys in the registry.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question