作者查詢 / stucode

總覽項目: 發文 | 留言 | 暱稱
作者 stucode 在 PTT 全部看板的留言(推文), 共1085則
限定看板:全部
[情報] ShareX 13.0.1 免費開源截圖上傳
[ EZsoft ]24 留言, 推噓總分: +18
作者: mkz6 - 發表於 2019/08/28 09:03(6年前)
23Fstucode: 試用了一下,感覺功能滿齊全的。09/09 21:43
Re: [問題] python閉包的語法(修改後囉)
[ Python ]11 留言, 推噓總分: +1
作者: sating00 - 發表於 2019/07/30 22:29(6年前)
1Fstucode: 推你熱心,不過解釋得不太對。07/30 23:23
2Fstucode: 2. f = outer()07/30 23:23
3Fstucode: 不是讓 outer() 可以用 f 呼叫,而是當場呼叫 outer()07/30 23:23
4Fstucode: 並把它的傳回值(也就是 inner 這個 function)07/30 23:24
5Fstucode: assign 給 f。07/30 23:24
6Fstucode: 3. print(f(b))07/30 23:24
7Fstucode: 呼叫 f(b) 等於呼叫 inner(b),不是呼叫 outer()。07/30 23:24
8Fstucode: 所以下面 4. 5. 8. 的流程完全是錯的。07/30 23:24
Re: [情報] 京阿尼官方捐款
[ C_Chat ]1146 留言, 推噓總分: +794
作者: crgc - 發表於 2019/07/30 15:50(6年前)
1110Fstucode: 推07/30 22:06
[閒聊] 京都動畫給世界上所有人的訊息
[ C_Chat ]282 留言, 推噓總分: +250
作者: UncleRed - 發表於 2019/07/29 18:16(6年前)
242Fstucode:07/29 22:00
[情報] 京阿尼死者35人
[ C_Chat ]204 留言, 推噓總分: +151
作者: westgatepark - 發表於 2019/07/27 18:31(6年前)
178Fstucode: R.I.P.07/27 22:00
[閒聊] 最猛的上低音號聖地巡禮已回收
[ C_Chat ]306 留言, 推噓總分: +101
作者: steven8088 - 發表於 2016/12/26 22:24(9年前)
301Fstucode: ...07/25 23:49
[情報] 京阿尼事件 Adobe在平台捐款5萬美元
[ C_Chat ]195 留言, 推噓總分: +126
作者: gary8442 - 發表於 2019/07/23 19:10(6年前)
158Fstucode: 推07/23 21:34
[問題]
[ Python ]11 留言, 推噓總分: +1
作者: teddyissad - 發表於 2019/07/22 17:41(6年前)
1Fstucode: dict_counter = {} 是建立空字典不是空集合。07/22 18:07
2Fstucode: dict_counter[food] 是查詢字典中 key 為 food 變數內容07/22 18:08
3Fstucode: 的對應值為何,假設07/22 18:08
4Fstucode: dict_counter = {'spam': 3, 'egg': 1}07/22 18:08
5Fstucode: food = 'spam'07/22 18:08
6Fstucode: 那 dict_counter[food] 就是 307/22 18:08
7Fstucode: 而 dict_counter[food] += 1 是把該對應值 +1,07/22 18:08
8Fstucode: 變成 {'spam': 4, 'egg': 1}07/22 18:09
[公告] 京阿尼大火消息回報,祈福黑特區
[ C_Chat ]1494 留言, 推噓總分: +816
作者: jschenlemn - 發表於 2019/07/18 13:59(6年前)
473Fstucode: 天佑京阿尼07/18 19:32
[問題] 透過system() 刪除檔案
[ C_and_CPP ]14 留言, 推噓總分: +2
作者: jayzhuang - 發表於 2019/07/05 17:45(6年前)
4Fstucode: 先忽略硬把 TCHAR 塞給 char 這件事的話,原 PO 的問題07/06 00:19
5Fstucode: 主要是不清楚 string 跟 string literal 的差別。07/06 00:19
6Fstucode: 比較看看下面兩行輸出的差異應該就知道問題在哪:07/06 00:19
7Fstucode: cout << GetFilePath() << endl;07/06 00:19
8Fstucode: cout << "C:\\LGPO\\Debug\\" << endl;07/06 00:20
9Fstucode: 不過刪除檔案可以像 2F 建議的用 std::filesystem 之類07/06 00:20
10Fstucode: 處理會比用 system() 來的好。07/06 00:20