1.

Why Do I Get A "type Name Expected" Error On My Definition Of A Friend Class In My New Class?

Answer»

A You need to let the compiler KNOW that the label you USE for your FRIEND CLASS is another class. If you do not want to define your entire class, you can SIMPLY have "class xxx", where xxx is your label.

A You need to let the compiler know that the label you use for your friend class is another class. If you do not want to define your entire class, you can simply have "class xxx", where xxx is your label.



Discussion

No Comment Found