#includeusing namespace std;int get(int a=10){ return a;}double get_cycle_area(double r,double pi=3.1415){ return pi*r*r;}double get_cy... Read More
posted @ 2016-03-30 10:15
夜色下的港湾
Views(99)
Comments(0)
Diggs(0)
#includeusing namespace std;//函数重载:指的是有两个或以上的函数名字相同,但是函数参数的类型或个数不同;int MAX(int a,int b){ coutb?a:b;}char MAX(char a,char b){ coutb?a:b;... Read More
posted @ 2016-03-30 10:12
夜色下的港湾
Views(166)
Comments(0)
Diggs(0)
1.#include#includeusing namespace std;int main(){ vector v(5); cout#includeusing namespace std;int main(){ vector v(5); cout::ite... Read More
posted @ 2016-03-30 10:08
夜色下的港湾
Views(236)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号