Warning : The document was created with Spire.PDF for .NET.\rcharch;\rpublic:\rn**[**\rclassNumber\r{ protected:\rintnum;\rpublic:\rclassGrid:publicLetter,publicNumber\r{ public:\rn**?**\rfriendostream&operator#(ostream&o,Grid&g); };\r{ o<vT<vg,chv<”,”<<g.numv<T\rretumo; }\rintmain()\r{ Gridg('C;3);.\rcout#HGridreference:H# g # en d l;\rretumO; }\rW$\r(1) Letter(char c = 'A') {ch = c;}\r(2) Number(int n = 0) {num = n;}\r(3) Grid(char c = 'A\ int n = 0) : Letter(c), Number(n){}\r(4) ostream &operator#(ostream &o,Grid &g)\r.\r#$(AC2(XY?@?Byz^tux?@\r > (3 ) /'WM 0a"ZC2(XY/' (4 ) \rtuf(?@F#/'O'x ostream('\n¡/'¢£\r¤@x¥“ << ” 0}