作者查詢 / discipile

總覽項目: 發文 | 留言 | 暱稱
作者 discipile 在 PTT [ C_and_CPP ] 看板的留言(推文), 共62則
限定看板:C_and_CPP
首頁
上一頁
1
2
下一頁
尾頁
Re: [問題] string的用法
[ C_and_CPP ]23 留言, 推噓總分: +6
作者: hhashoww - 發表於 2009/04/12 00:18(15年前)
9Fdiscipile:在此先跟各位抱歉下,我沒有事先說是哪款編譯器04/13 01:34
10Fdiscipile:我是用dev c++ 4.9.9.204/13 01:34
11Fdiscipile:回fasthall,我看的不是很懂,能否說明下04/13 01:39
12Fdiscipile:如果是加入#include<string>,我加了後04/13 01:40
14Fdiscipile:能輸出字串的第一個單字(ex:apple),但空格後的不能輸出04/13 01:41
16Fdiscipile:我們好像就是教c,但我們用的每款編譯器都是c++的04/13 01:42
17Fdiscipile:我記得有人告訴我可以用string a;這種用法04/13 01:42
18Fdiscipile:我作業是用char a[100]這種用法,但我想試試04/13 01:43
20Fdiscipile:之前別人說的用法,結果一直試不出來04/13 01:43
21Fdiscipile:好的,到時再研究,謝謝各位的參與了!04/13 01:45
[問題] string的用法
[ C_and_CPP ]13 留言, 推噓總分: +2
作者: discipile - 發表於 2009/04/12 00:11(15年前)
7Fdiscipile:回james732,我是想試試看有沒有這種寫法04/13 01:25
8Fdiscipile:回legendmtg,我google了一下"cin cout"好像是兩個東西,04/13 01:26
9Fdiscipile:但不清楚是甚麼,能否說明下,謝謝04/13 01:27
10Fdiscipile:回akasan,請問是修改成printf("%s",a.c_str());這樣嗎?04/13 01:29
11Fdiscipile:可是一樣不能執行(可以編譯)04/13 01:29
12Fdiscipile:回tinlans,我不知道的說,有<string>這種標頭檔?04/13 01:32
13Fdiscipile:麻煩說明下04/13 01:32
[語法] 一題是非題..
[ C_and_CPP ]29 留言, 推噓總分: +18
作者: robert6408 - 發表於 2009/04/11 20:30(15年前)
26Fdiscipile:a+++++b要怎麼用?04/13 01:50
[問題] C的入門書藉~
[ C_and_CPP ]11 留言, 推噓總分: +4
作者: JYLai - 發表於 2009/04/07 08:27(15年前)
11Fdiscipile:梁葛葛的網頁的網址給下吧!04/13 01:59
Re: 常見的 C++ 錯誤觀點
[ C_and_CPP ]128 留言, 推噓總分: +38
作者: yoco315 - 發表於 2009/03/13 23:26(15年前)
118Fdiscipile:可謂何到現在工程上的程式設計大多用C,而不用C++呢?03/24 02:24
首頁
上一頁
1
2
下一頁
尾頁