討論串[問題] strtok
共 4 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
開發平台(Platform): (Ex: VC++, GCC, Linux, ...) Ubuntu 10.10 gcc. 額外使用到的函數庫(Library Used): (Ex: OpenGL, ...). 問題(Question): strtok 結果不如預期. 預期的正確結果(Expecte
(還有157個字)
內容預覽:
char pA[]="Content-type: text/html\n\nThis is a pen";. 如果我把pA[]改成*pA,編譯就會出現Segmentation fault. 為什麼不能寫*pA?. 這樣就沒辦法跟strstr一起用了欸=.=. char *p;. char *deli
(還有33個字)
內容預覽:
想請問一下大家. 不知道為什麼當以下程式執行完. 會多印出一行B. 有什麼方法可以解決. test.txt檔案為. A(10). A(2). A(33). A(65). B(4). B(2). #include<stdio.h>. #include<stdlib.h>. #include<strin
(還有217個字)
首頁
上一頁
1
下一頁
尾頁