0
Is there any way to make the object of a class during the execution time in c++.
i have a class with the name of "bankAccount" and i want to make the objects of this class during the execution time for making different account anyone tell me how this is done
1 Answer
+ 1
Use parentheses to create new objects:
myAccount = bankAccount()