这是一个C++代码,但有错误,希望哥哥姐姐帮忙看看

问题1:警告 1 warning C4490: “override”: 重写说明符的用法不正确;“Height::Tostring”与 ref 基类方法不匹配 e:\Visual Studio 2005\Projects\Ex7_16\Ex7_16.cpp 30 问题2:自己的理想结果:He is Fred his Weight is 185 pounds 7 ounces.his height is 6 feet 3 inches which is 1.91 meters.运行的结果就最后一句不同. 代码如下: #include "stdafx.h" using nam...
2008-08-22 03:22 | 阅读 460 次 | 评论 0 条
文章归档
最新评论