作者查詢 / johnhmj

總覽項目: 發文 | 留言 | 暱稱
作者 johnhmj 在 PTT [ C_and_CPP ] 看板的留言(推文), 共533則
限定看板:C_and_CPP
看板排序:
全部Gossiping116148MobileComm1557C_and_CPP533GTA427MobilePay375VideoCard359Stock130Windows103IME76C_Chat62hardware59HatePolitics59Shooter-game59joke52Militarylife46Salary44Eng-Class41LHU38Teacher36L_TalkandCha33Linux33Cad_Cae32Wikipedia29Tech_Job27japanavgirls24java23Marginalman23home-sale22LCD21Facebook20biker19Broad_Band17car17PublicIssue17WomenTalk16YOLO16HBO15Liu15sex13Steam13ask12PC_Shopping11PublicServan10Beauty9paranormal9SMSlife8Storage_Zone8Tainan8AfterPhD7CD-R7fastfood7GossipPicket7HsinChuang7NTU7Shu-Lin7ShuangHe7SongShan7Warfare7About_Life6IA6LinuxDev6SENIORHIGH6specialman6Violation6CVS5Electronics5PingTung5PlayStation5TaichungBun5Test5Android4Hiking4Military4movie4MuscleBeach4rent-exp4teeth_salon4CFantasy3digitalk3e-shopping3einvoice3H-GAME3Kaohsiung3KOTDFansClub3OverClocking3P2PSoftWare3PCman3Wanhua3X-files3Bank_Service2Boy-Girl2Brethren2Browsers2C_BOO2C_ChatBM2Catholic2CCRomance2DiscoveryNGC2Employee2gallantry2Gov_owned2historia2Hsinchu2hypermall2KS98-3022Ladies_Digi2LoL2MenTalk2Mongolia2MonkeyPox2Nethood2PhD2PttCard2Railway2studyteacher2StupidClown2SuperBike2Taipei2Tobacco2TW_Entertain2VAPE2VoIP2WorkinChina2Wrestle2AC_In1AmericanIdol1Anchors1Anti-ramp1AntiVirus1AOE1Army-Sir1AudioPlayer1AVEncode1Aves1BabyMother1Baseball1battlegirlhs1BoardCourt1BSB1Buddhism1Bus1Chiayi1Christianity1ck60th3281Claire1cookclub1CrossStrait1Datong1DigiCurrency1Digitalhome1Disabled1Dist-Com1DivingSport1dog1DotA21DPP1DummyHistory1Ecophilia1Examination1EZsoft1FamilyCircle1feminine_sex1GetMarry1Golden-Award1Google1graduate1HIMYM1HK-movie1HsinTien1HSNU_9271Hualien1IC-Card1iOS1J-PopStation1Jacky_Woo1JesusLove1JinYong1Keelung1Key_Mou_Pad1kochikame1kodomo1KoreaStar1L_SecretGard1Lifeismoney1LTK1MapleStory1MartialArts1Mechanical1medstudent1ML-northNU1MMA1museum1Nangang1nCoV20191NFS1NHK1OverWatch1PCReDive1politics1Programming1Property_M1PSY1Realityshow1ScienceNote1Soft_Job1SouthPark1StarTrek1streetfight1swim1SYSOP1tajen1THUMath951TigerBlue1toberich1TOEIC1ToS1twin1TY_Research1UFO-Radio1W-Philosophy1Wanted1Wen-Shan1WesternMusic1Weyslii1<< 收起看板(224)
[問題] static const 的問題
[ C_and_CPP ]18 留言, 推噓總分: +2
作者: holydc - 發表於 2012/11/15 10:56(11年前)
12Fjohnhmj:"唯讀"性質的變數而不是常數?!11/16 02:20
[問題] 類別中的 constructor 問題
[ C_and_CPP ]9 留言, 推噓總分: +2
作者: iamricebug - 發表於 2012/10/30 01:44(11年前)
9Fjohnhmj:"字元陣列"當字串用要加"結束字元('\0')"10/31 02:40
[問題]
[ C_and_CPP ]23 留言, 推噓總分: +5
作者: wind00962 - 發表於 2012/09/09 01:31(11年前)
6Fjohnhmj:破壞原字串…建一個buffer把原字串複製過去如何?09/09 04:20
[問題] 將string由fprintf印出
[ C_and_CPP ]8 留言, 推噓總分: 0
作者: bwtalk - 發表於 2012/01/13 13:12(12年前)
6Fjohnhmj:根據fprintf的規格,它只接受由"字元陣列"形成的字串,…01/13 15:21
7Fjohnhmj:你用的string是C++ STL string類別,兩者是不同的資料型態01/13 15:22
8Fjohnhmj:這就像是你把110v電風扇插頭插到220v插座一樣,會出錯。01/13 15:24
[問題] 可以在沒有new的情況下做delete嗎?
[ C_and_CPP ]7 留言, 推噓總分: +2
作者: icetofux - 發表於 2012/01/10 14:43(12年前)
5Fjohnhmj:int* Array=NULL; if(Array!=NULL){ delete [] Array;}01/10 16:40
7Fjohnhmj:Create: if(len>0){ Array=new[len];}else{ Array=NULL;}01/10 16:52
[問題] 如何在member function 中創造新物件
[ C_and_CPP ]14 留言, 推噓總分: 0
作者: steve1012 - 發表於 2011/12/28 16:05(12年前)
2Fjohnhmj:試試這個 vector<int>& munionSet(IntegerSet);12/28 17:05
3Fjohnhmj:這個就當你的 vector 元素型態是 int 好了。( ̄ー ̄;)12/28 17:06
4Fjohnhmj:增加一個元素到 vector「http://ppt.cc/CZ@6(MSDN)」12/28 17:10
5Fjohnhmj:請服用這個「using std::vector;」(∩_∩)12/28 17:26
6Fjohnhmj:忘了說明…那是加在標頭檔內的 ( ̄ー ̄;)12/28 17:28
[問題] doble vector需要空隔?!
[ C_and_CPP ]10 留言, 推噓總分: +2
作者: bernachom - 發表於 2011/12/24 18:15(12年前)
6Fjohnhmj:不曉得以後M$編譯器或Linux GCC會不會有c++11標準?12/24 19:36
10Fjohnhmj:喔~(0_0)嗯嗯…好的12/26 14:32
[問題] win32 類似CArray的功能
[ C_and_CPP ]2 留言, 推噓總分: 0
作者: zxcv123123 - 發表於 2011/12/19 14:00(12年前)
1Fjohnhmj:C++ STL vector 不是也有類似的功能?( ̄ー ̄;)12/19 14:35
[問題] linked list輸出有誤
[ C_and_CPP ]12 留言, 推噓總分: +2
作者: Biboy - 發表於 2011/12/15 17:43(12年前)
3Fjohnhmj:把串列當成是一列火車來看就會很好寫 v( ̄︶ ̄)y12/15 18:02
Re: [問題] 遊戲程式
[ C_and_CPP ]8 留言, 推噓總分: +1
作者: azureblaze - 發表於 2011/12/11 23:40(12年前)
2Fjohnhmj:在Linux清螢幕要用 clear?( ̄ー ̄;)12/12 00:50