string[] args the variable in the [] is the condition.
in string args[] the argument in the [] is the condition.
string[$1] args means if the string is $1 then do args
string args[$1] means if the args is $1 then string/array the args...
所以上來JBTalks來問下兩者的差別.
_________________________________________________________________________________________________________________
11/2 新問題
在C++里 " " (double quote) 和 ' ' (single quote) 到底有什麼差別? 問之前有自己 google 下,得到的答案是
double quotes is used for NULL-terminated strings, single quote is for a single character.
在測試過後發覺2個都可以用,沒差別. 為了避免不好的習慣,所以上來問問搞清楚的說.
[ 本帖最后由 TenNix 于 2009-2-11 04:13 PM 编辑 ]





氣到我... 到Bukit Tinggi那裡只找到C++的 Simplified Beginner's Approach,之前爬了些貼,有些大大建議從C++開始,到Java,然後Java GUI. 反正我進入Java不深,回頭轉去C++先.可是那樣感覺自己很em0016 算了,不會形容=.=