creating an object within a function of a program
- by user1066524
could someone please tell me what I need to do in order to create an object in a function.
I will try to explain by making up some sort of example...
Let's say I have a program named TimeScheduler.cpp that implements the class Schedule.h
(and I have the implementation in a separate file Schedule.cpp where we define the methods).
In the…