I
Inso Reiges
Hi,
I`m new to C++ and OOP in general and i come from long-time C mindset.
So i have some style questions.
I have a class that needs to be initialized by over nine parameters.
So i decided to put this mess into some kind of an object (here by
object i don`t mean a class instance) and pass it to constructor. In C
such thing would usually be done by filling out a struct. Should i use
an object (class instance) in C++ or is it ok to use structs?
Thanks in advance.
I`m new to C++ and OOP in general and i come from long-time C mindset.
So i have some style questions.
I have a class that needs to be initialized by over nine parameters.
So i decided to put this mess into some kind of an object (here by
object i don`t mean a class instance) and pass it to constructor. In C
such thing would usually be done by filling out a struct. Should i use
an object (class instance) in C++ or is it ok to use structs?
Thanks in advance.