Login Page - Create Account

Support Board


Date/Time: Mon, 24 Feb 2025 18:21:29 +0000



Post From: sc. structure passed by reference as default value to all functions

[2021-03-10 19:15:13]
norvik_ - Posts: 106
Hi. No inheritance in my first sample. It is class constructor with the reference to the s_sc structure as constructor parameter, that is all. I think it is a not very good idea to use s_sc to inherit your own class from it, but you can try, I never had checked.
As for private state of p_Interface, the only one reason, you will never use it outside a class, so simply no sense make it public.
Date Time Of Last Edit: 2021-03-10 20:17:08