作者查詢 / qsort
作者 qsort 在 PTT [ C_and_CPP ] 看板的留言(推文), 共34則
限定看板:C_and_CPP
看板排序:
全部EZsoft90Linux83C_and_CPP34bicycle21LinuxDev19Android18Python18Google16Gossiping13hypermall13Hsinchu9creditcard7Soft_Job7car6LivingGoods4Bank_Service3Browsers3Digitalhome3MobileComm3RegExp3Storage_Zone3Battery2Cheer2CVS2Free_box2japanavgirls2movie2BabyMother1Baseball1BLEACH1CarShop1Drama-Ticket1e-shopping1FITNESS1GIS1give1Hiking1Inference1Key_Mou_Pad1mobilesales1MP3-player1nb-shopping1Sony-style1<< 收起看板(43)
1F→: 我猜,該檔案被鎖住了,所以git無法access,才會報錯07/12 15:52
2F→: 建議用.gitignore把這類temp檔ignore掉,不要上到git。07/12 15:53
4F推: 還好我沒什麼問題09/12 20:39
3F→: 打個manual snprintf都蠻一堆02/05 16:50
4F→: 如果你的c lib沒有,一定是太舊了,請換一套02/05 16:52
1F推: 你用什麼OS和Compiler和c lib? 這似乎是你的平台才有的問題02/04 17:15
2F→: http://www.tutorialspoint.com/compile_c_online.php02/04 17:16
3F→: 我在上面網站測是沒問題的,在linux Mint17也沒問題02/04 17:17
5F推: 看起來是Windows系統,那我就懶得測了..02/04 18:10
6F→: 至少在linux上,sample code是正常的02/04 18:11
15F→: 來用snprintf()嘛~好用耶,不試看看嗎?02/05 10:27
10F推: 我反而比較想知道殭屍的做法11/25 20:08
12F推: 可以來段sample code嗎?11/25 21:52
3F推: 樓上+1, pointer有reuse需求, 才需要在free的時候設成NULL05/29 12:34
17F推: 你的compile是哪一個?05/11 09:56
18F→: do while的sort_list scope,只限在do while內05/11 09:56
19F→: 而while (sort_list->data) 的sort_list, 其實是用buffer下05/11 09:57
20F→: 面的那一個,也就是一個uninitialized sort_list05/11 09:58
21F推: http://ideone.com/hYmzpU 請看記憶體,不是同一塊05/11 10:04
4F推: #warning...免執行就知道是不是有進到ifndef endif 裡面10/25 22:23
5F推: http://goo.gl/EkLpiJ10/25 22:25
12F推:好久沒有人關心我了.....02/23 01:41