+ 1
How we can handle multiple objects in object oriented programming
3 odpowiedzi
+ 5
A bit similar to how you manage data structures and variables in non-OO languages. Objects encapsulate properties and behaviour specified in the corresponding class.
+ 4
You need to Construct them.. Something like
ObjectName name = new Objectype();
But i dont know it in cpp, sry
+ 4
What do you mean by handling different objects?
The all have their unique parameter not effected by each other as long as they aren't static
If you wanna initialize them make a constructor for the class