OP 24 November, 2022 - 12:56 PM
this is very basic OOP in cpp but some of you may find it refreshing
in class A we have constructor A and private variables to init faster we use
A( whatever ) : varName{value}, varName2{value}{
}
to not be redundant and copy over and over with overloading the inits we do
A( something else) : A{value,value}{
}
this is a faster way to initialize data without copying and then giving
Comment for requests questions or mean feedback
in class A we have constructor A and private variables to init faster we use
A( whatever ) : varName{value}, varName2{value}{
}
to not be redundant and copy over and over with overloading the inits we do
A( something else) : A{value,value}{
}
this is a faster way to initialize data without copying and then giving
Comment for requests questions or mean feedback