作者查詢 / stopcrying

總覽項目: 發文 | 留言 | 暱稱
作者 stopcrying 在 PTT [ C_and_CPP ] 看板的留言(推文), 共10則
限定看板:C_and_CPP
首頁
上一頁
1
下一頁
尾頁
Re: [問題] unix 底下的end of line字元?
[ C_and_CPP ]15 留言, 推噓總分: +3
作者: stopcrying - 發表於 2010/05/02 00:15(14年前)
3Fstopcrying:那讀進來應該是像上面寫的那樣,123456後面沒有東西05/02 00:28
5Fstopcrying:可以試著檢查看看 6後面是不是字串結尾05/02 00:29
7Fstopcrying:strtok給的 delimiters你給的是 " \n"對吧?05/02 00:30
8Fstopcrying:到最後沒東西時 strtok也會傳 NULL給你。05/02 00:31
9Fstopcrying:莫非你的 strtok最後就是很謎的少給你一串?05/02 00:32
10Fstopcrying:那這樣問題應該不是 123456後面有什麼...05/02 00:35
11Fstopcrying:唉,YCK大,我太急燥了,你等等,讓我好好的試一遍。05/02 00:42
14Fstopcrying:站內寄信給你了,你看看:)05/02 00:50
[心得] Josephus Problem
[ C_and_CPP ]12 留言, 推噓總分: +4
作者: FRAXIS - 發表於 2009/07/13 22:35(15年前)
1Fstopcrying:how about change 1~n to 0~n-1 and add 1 after07/14 01:18
2Fstopcrying:you found the answer?07/14 01:18
首頁
上一頁
1
下一頁
尾頁