I write kursach) I know that UML and writing code are not executed in this order. But there is simply no time to first do the UML, and then start coding, because it is VERY long and can be useful for large projects. At first I started doing this, and then I realized that in the process of implementation all the logic could change 10 times and the diagrams would have to be redone (the structure of the database had already changed 2 times). Therefore, I decided not to waste time and write a program first, and then take up charts.
I am writing in Visual Studio 2010 in C ++ under MFC. The only thing I know is 2 ways of extracting class diagrams - “reconstruct” in Visio and get the diagram using built-in Visual tools.
What else and how can you extract? Maybe programs or just somehow run through the calls and get, for example, a sequence diagram.
P.S. The teacher is very important these diagrams and their proper preparation. He is even unlikely to watch the program. But UML is for sure.