Say I have someone else's large C++ code and I want to access the output of individual functions in .cpp files. How can I get setup such that I can specify an input and watch the output of the function (or even the intermediate steps in that function).
Does each run require something called "make" or "compile" before I can actually run it? I am guessing maybe learning more about these should be where I need to start? Any recommendations on relevant resources?
I know basic syntax of C++ within each individual function from an introductory C++ course. However, in the course, the concept of "making/compiling" is entirely abstracted away (they use QT creator and .pro files, which upon opening I think it does all the make stuff automatically) and the seeing the outputs of each function is also very elaborately setup just for the course and I don't see a clear way to easily transplant that whole system to use with other generic codes.
Sorry for this a bit vague question, but indeed the main question here is how to get started.
Thanks.