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