2015年7月19日
摘要: 如果一个构造函数的第一个参数是自身类类型的引用,且任何额外参数都有默认值,则此构造函数是拷贝构造函数class numbered{public : numbered(){//构造函数 mysn = 0; } numbered(const numbered& input... 阅读全文
posted @ 2015-07-19 16:41 依风152 阅读(416) 评论(0) 推荐(0) 编辑
摘要: 摘于:http://blog.chinaunix.net/uid-9160071-id-2435395.html通过一段代码来看一下:#!/bin/bash #the name is "test"echo $@echo $*echo "$@"echo "$*"a1=($@)b1=($*)a2=("$... 阅读全文
posted @ 2015-07-19 10:16 依风152 阅读(157) 评论(0) 推荐(0) 编辑