Implementing Functions

May 27, 2017 at 1:19pm
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 May 27, 2017 at 1:19pm
May 27, 2017 at 2:47pm
It depends how TestResult is defined.
Topic archived. No new replies allowed.