摘要:
#include using namespace std;//函数指针类型void myfunc(int a,int b){ cout<<a<<b<<endl;}void myfunc(char* a){ cout<<*a<<endl;}//函数类型//typedef void (myp... 阅读全文
摘要:
#include using namespace std;class Point { public: Point(double xx, double yy) { x=xx; y=yy; } friend double Distance(Point &a, Point &b);... 阅读全文
摘要:
//#include using namespace std;class complex{public: complex() { real=imag=0; } complex(double r, double i) { real = r, imag = i; }... 阅读全文