全文预览

c++复习题

上传者:相惜 |  格式:pdf  |  页数:50 |  大小:6827KB

文档介绍
ôxõödata??Xz{ôx7·5data'÷øG\rvfL¡Žx§7ùÜx§?z{ôx'\r9CL¡ûüýþÿ 0@P(Point)\r??P P(Line)\r@ !" )#$%&P(Triangle)($@ !" 0$%\r&),-./0123.@456$%&789:;<,\r10?"@RECTP(8D&)EFPCUB (8DJ)KJ-.LM\r(1)PRECT/0LM:\rOPQ/0double x,y;YZ[8D&89\\r]^_/0RECT(double, double); `a12bc2defx9y\rvirtual double area,hi12,jk8D&:;\rdouble peri 0 ; jk8D&78\rvirtual int isSquare();i12pqrs?tD&Lruv1 , swuv0\r(2)PCUB?PRECT^_PF/0LM\rOy_/0double height;[8DJ{|\r]^_/0CUB (double, double, double);`a12\rdouble volume,hjk8DJJ;~:;€b?P/012area,‚ƒ\rdouble area();jk8DJ[:;~:;9~:78€b?P/012\r‚ƒ\rint isSquare,hpqrs?tDJLruv1 , swuv0 , „pq€…†\r‡ˆb?P/012isSquare ()pq~:rs?tD&,\r(3)„Š12†‹Œ 0CUBŽ9 0RECT€bvolume,jk‘’8\rDJJ;hbarea,9isSquare(), M k‘’8DJ[:;‘pqrs?tDJ,

收藏

分享

举报
下载此文档