Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I\'ve got a job and many new things to be learned. The first thing is to underst

ID: 659101 • Letter: I

Question

I've got a job and many new things to be learned. The first thing is to understand big project, writtened mostly in C++, using Visual Studio. So, I see a statement, and I want to find its definition. Using Ctr+F to search through entire solution, and if multiple libraries have different function but same name, I would have many result that I don't know which one is the definition of the statement. And vice versal, I see a definition, but I don't know which statements are its invoker.

Is there any tips for my issue? Any suggestion is very appreciated. Thanks (And please, I don't want to go to debug mode, since It takes lot of time to build, and I'm lazy rofl).

Explanation / Answer

You could try with a tool like Doxygen.

I find it useful when I start to work on a new codebase.

Just tweak some parameter in the config file and run Doxygen against your code. For your needs you could change:

CALL_GRAPH = YES. A graphical call graph is drawn for each function showing the functions that the function directly or indirectly calls
CALLER_GRAPH = YES. A graphical caller graph is drawn for each function showing the functions that the function is directly or indirectly called by
Probably also:

EXTRACT_ALL = YES, HAVE_DOT = YES, UML_LOOK = YES to generate a class diagram (see Graphviz + Doxygen to generate UML class diagrams).
The nice things is that even if the documentation isn't already available, you can extract a lot of useful information (and while learning you could start documenting the code).

Anyway it takes time.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote