Implementing Functions

Given "TestResult testResultFactory(std::string name, double mark)"

How to return a TestResult with its members initialized to the value of the parameters?
Last edited on
It depends how TestResult is defined.
Topic archived. No new replies allowed.