Quantcast
Channel: Ref Class Question
Browsing all 7 articles
Browse latest View live

Ref Class Question

Thanks very much, I owe you.

View Article



Ref Class Question

Hmm... no problem... but what are you trying to do in fact ?ref class C1{public:ref class NC1{public:static int s1;int m1;String ^m2;};NC1 ^mnc1;static int s2;};With this you can write the following:C1...

View Article

Ref Class Question

Thanks again, Mike. Although, if it isn't too troublesome - could you provide a short exmaple please of a class with other nested classes in it? With Thanks,                    Gal Beniamini.

View Article

Ref Class Question

No. You cannot access the neste classes using ->. I suspect what you really want is not to access the neste class but some instances of them:public ref class Man abstract sealed {...Size ^size;Name...

View Article

Ref Class Question

Hello Mike, thanks for the answer, just that I do want to be able to access the nested classes using ->. Is this possible? Oh and by the way, why does 'm->Name::First_Name = "Lag";' work? With...

View Article


Ref Class Question

Well, the -> operator is used to access members of the class like fields, methods, properties. Size, Name and Colour are nested classes, not class members and in C++ :: is used to access them. It's...

View Article

Ref Class Question

Hello, I have a question regarding the way intellisense works with ref classes. I have a class like so: public ref class Man abstract sealed     {        public:                public ref class Size...

View Article
Browsing all 7 articles
Browse latest View live




Latest Images