摘要:
#include using namespace std;//函数指针类型void myfunc(int a,int b){ cout<<a<<b<<endl;}void myfunc(char* a){ cout<<*a<<endl;}//函数类型//typedef void (myp... 阅读全文
posted @ 2015-11-07 18:26
爱读书de小学生
阅读(225)
评论(0)
推荐(0)
摘要:
#include using namespace std;class Point { public: Point(double xx, double yy) { x=xx; y=yy; } friend double Distance(Point &a, Point &b);... 阅读全文
posted @ 2015-11-07 18:22
爱读书de小学生
阅读(197)
评论(0)
推荐(0)
摘要:
//#include using namespace std;class complex{public: complex() { real=imag=0; } complex(double r, double i) { real = r, imag = i; }... 阅读全文
posted @ 2015-11-07 17:26
爱读书de小学生
阅读(253)
评论(0)
推荐(0)

浙公网安备 33010602011771号