variable type class
-
if you allow I want to know what that means intruction;
Persone pers1;
knowing that Persone is a class thank you
membre123 wrote:
what that means intruction; Persone pers1;
It simply instructs the compiler to reserve enough space to hold a reference to an instance of the class (Persone in this case) which can then be referred to by the name pers1. That's about it. It does nothing else.
Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”
-
if you allow I want to know what that means intruction;
Persone pers1;
knowing that Persone is a class thank you
It's not an instruction. What it means depends on the context. It could be a field declaration[^], or a local variable declaration[^] (and maybe something else that I've missed)
-
It's not an instruction. What it means depends on the context. It could be a field declaration[^], or a local variable declaration[^] (and maybe something else that I've missed)