討論串[問題] using function?
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓0(0推 0噓 1→)留言1則,0人參與, 最新作者littleshan (我要加入劍道社!)時間16年前 (2009/05/04 09:20), 編輯資訊
0
0
0
內容預覽:
C++ 的物件具有明確的生命週期. 區域變數中的物件在離開該區域就會自動被消滅. 你只要用大括號就可以定義一個 scope:. {. Image<Gray, Single> image(1000, 800);. ... // do something here in the image. } //
(還有269個字)

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者xsoho ( )時間16年前 (2009/05/04 07:12), 編輯資訊
0
0
0
內容預覽:
請問C#中有這種用法. using (Image<Gray, Single> image = new Image<Gray, Single>(1000, 800)). {. ... //do something here in the image. } //The image will be dis
首頁
上一頁
1
下一頁
尾頁