摘要:
我们从已有f2.dat文件中读取10个数据,将他们排好序之后再存放到f2.dat中。 #include <iostream> #include <fstream> #include<string> #include<cmath> using namespace std; int main( ) { 阅读全文
摘要:
1. 计算三角形面积: 首先判断 是否构成三角形,在进行判定。并抛出错误处理。 #include <iostream> #include <string> #include<cmath> using namespace std; double floor(double x, double y, do 阅读全文