From: http://magicalloveshe.blogspot.com/2008/06/variable-argument.html
不定參數
就是傳入函式的參數是不固定的
可多可少
例如printf
int printf(const char *format [,argument]...);
那個中括號括起來的arguement可多可少
而且還可以不同型態
這就是不定參數
....
Reference web:
http://ehome.hifly.to/showthread.php?s=&threadid=329
http://blog.yam.com/ddy1280/article/2095414
http://magicalloveshe.blogspot.com/2008/06/variable-argument.html
http://blog.csdn.net/arong1234/archive/2008/05/18/2456455.aspx
http://www.itwis.com/html/c/clang/20080519/1511.html
沒有留言:
張貼留言