討論串TC++ 變數視野求教
共 12 篇文章
內容預覽:
※ 引述《"marujoung" <maru8888@bbs.emerald.net.tw>, 看板: Programming》之銘言:將變數宣告在函式主體外, 稱之為Global Scope. 將變數宣告在函式主體外(且加了static關鍵字), 稱之為File Scope. 將變數宣告在函式內,
(還有116個字)
內容預覽:
MSGID: 0:0/0 382982A1. -KEY: FF77111D. void main(void). {. if(func1()). func2();. }. int func1(void). {. int i;. :. :. return i;. }. int i;. void fun
(還有330個字)