摘要:
#include<iostream>#include<cmath>#include<stdexcept>using namespace std;double area(double a,double b,double c) throw (invalid_argument){ if(a<=0||b<= 阅读全文
摘要:
#include<iostream>#include<string>using namespace std;class MyException{ public: MyException(const string &message):message(message){} ~MyException(){ 阅读全文
摘要:
#include<iostream>#include<algorithm>#include<functional>#include<vector>using namespace std;int main(){ int iarray[]={26,17,15,22,23,33,32,40}; vecto 阅读全文