作者查詢 / johnhmj

總覽項目: 發文 | 留言 | 暱稱
作者 johnhmj 在 PTT [ C_and_CPP ] 看板的留言(推文), 共533則
限定看板:C_and_CPP
看板排序:
全部Gossiping152640MobileComm1621C_and_CPP533GTA427MobilePay398VideoCard359Stock132Windows103IME76C_Chat65HatePolitics65hardware59Shooter-game59joke56L_TalkandCha50Militarylife47Teacher46Salary44Eng-Class41LHU38Tech_Job35Linux33Cad_Cae32Marginalman32Wikipedia29home-sale25japanavgirls25java23WomenTalk23LCD21Facebook20sex20biker19car19Broad_Band17PublicIssue17YOLO16HBO15Liu15LordsOfWater15Steam13ask12PC_Shopping11PublicServan11Test11Beauty9fastfood9paranormal9PingTung9Tainan9GossipPicket8SMSlife8specialman8Storage_Zone8About_Life7AfterPhD7CD-R7HsinChuang7NTU7SENIORHIGH7Shu-Lin7ShuangHe7SongShan7Warfare7CVS6IA6Lawyer6LinuxDev6rent-exp6TaichungBun6Violation6Electronics5Football5KOTDFansClub5MuscleBeach5PlayStation5Android4Hiking4Military4movie4teeth_salon4C_ChatBM3CFantasy3digitalk3e-shopping3einvoice3Examination3Gov_owned3H-GAME3Kaohsiung3NHK3OverClocking3P2PSoftWare3PCman3studyteacher3Wanhua3X-files3Aves2Bank_Service2Boy-Girl2Brethren2Browsers2C_BOO2Catholic2CCRomance2ChangHua2Clarify2DiscoveryNGC2Employee2Finance2gallantry2historia2Hsinchu2hypermall2iOS2Keelung2KS98-3022Ladies_Digi2LoL2MenTalk2Mongolia2MonkeyPox2Nethood2PhD2PttCard2Railway2Soft_Job2StupidClown2SuperBike2Taipei2Tobacco2TW_Entertain2VAPE2VoIP2WorkinChina2Wrestle2AC_In1AmericanIdol1Anchors1Anti-ramp1AntiVirus1AOE1Army-Sir1AudioPlayer1AVEncode1BabyMother1Baseball1battlegirlhs1BoardCourt1BSB1Buddhism1Bus1Chiayi1Christianity1ck60th3281Claire1clmusic1cookclub1CrossStrait1Datong1DigiCurrency1Digitalhome1Disabled1Dist-Com1DivingSport1dog1DotA21DPP1DummyHistory1Ecophilia1EZsoft1FamilyCircle1feminine_sex1GetMarry1Golden-Award1Google1graduate1Hate1HIMYM1HK-movie1HsinTien1HSNU_9271Hualien1Hunter1IC-Card1Interdiscip1J-PopStation1Jacky_Woo1JesusLove1JinYong1Key_Mou_Pad1kochikame1kodomo1KoreaStar1L_SecretGard1Lifeismoney1LTK1MapleStory1MartialArts1Mechanical1medstudent1ML-northNU1MMA1museum1Nangang1nCoV20191NFS1NTUCivilism1OverWatch1PCReDive1politics1Programming1Property_M1PSY1Realityshow1Road_Running1ScienceNote1single1SouthPark1StarTrek1streetfight1swim1SYSOP1tajen1THUMath951TigerBlue1toberich1TOEIC1ToS1travel1twin1TY_Research1UFO-Radio1W-Philosophy1Wanted1wearefriends1Wen-Shan1WesternMusic1Weyslii1<< 收起看板(239)
[問題] static const 的問題
[ C_and_CPP ]18 留言, 推噓總分: +2
作者: holydc - 發表於 2012/11/15 10:56(13年前)
12Fjohnhmj:"唯讀"性質的變數而不是常數?!11/16 02:20
[問題] 類別中的 constructor 問題
[ C_and_CPP ]9 留言, 推噓總分: +2
作者: iamricebug - 發表於 2012/10/30 01:44(13年前)
9Fjohnhmj:"字元陣列"當字串用要加"結束字元('\0')"10/31 02:40
[問題]
[ C_and_CPP ]23 留言, 推噓總分: +5
作者: wind00962 - 發表於 2012/09/09 01:31(13年前)
6Fjohnhmj:破壞原字串…建一個buffer把原字串複製過去如何?09/09 04:20
[問題] 將string由fprintf印出
[ C_and_CPP ]8 留言, 推噓總分: 0
作者: bwtalk - 發表於 2012/01/13 13:12(14年前)
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(14年前)
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(14年前)
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(14年前)
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(14年前)
1Fjohnhmj:C++ STL vector 不是也有類似的功能?( ̄ー ̄;)12/19 14:35
[問題] linked list輸出有誤
[ C_and_CPP ]12 留言, 推噓總分: +2
作者: Biboy - 發表於 2011/12/15 17:43(14年前)
3Fjohnhmj:把串列當成是一列火車來看就會很好寫 v( ̄︶ ̄)y12/15 18:02
Re: [問題] 遊戲程式
[ C_and_CPP ]8 留言, 推噓總分: +1
作者: azureblaze - 發表於 2011/12/11 23:40(14年前)
2Fjohnhmj:在Linux清螢幕要用 clear?( ̄ー ̄;)12/12 00:50