摘要: 1.函数重载编程练习 编写重载函数add(),实现对int型,double型,Complex型数据的加法。在main()函数中定义不同类型数据,调用测试。 #include <iostream> using namespace std; struct Complex{ double real; do 阅读全文
posted @ 2019-03-26 00:04 星星会打烊 阅读(240) 评论(1) 推荐(0) 编辑