Talk:The A-Team IRC Logs 20113 - OOP344

From CDOT Wiki
Jump to: navigation, search

17:41 You have joined the channel 17:41 dhgiang has joined (~dhgiang@24.52.196.131) 17:41 Mode: +ns 17:41 Created at: 2011-10-22 3:03 PM 17:41 dhgiang: hey 17:41 Travis_R: hey 17:41 dhgiang: just got off work 17:41 dhgiang: I'm eating now 17:42 Travis_R: k 19:14 _Tesh_ has joined (~chatzilla@CPE0026f3316814-CM0026f3316810.cpe.net.cable.rogers.com) 19:16 _Tesh_: hey guys 19:16 _Tesh_: do you see anything wrong with this code 19:16 Travis_R: hey 19:16 _Tesh_: http://pastebin.com/TYi3U054# 19:18 Travis_R: no 19:19 _Tesh_: bizarre 19:19 _Tesh_: how are you guys doing on CDialog? 19:19 Travis_R: kind of just started 19:20 _Tesh_: ah okay 19:20 _Tesh_: i thought clabel would be bigger, but it's pretty simple. so if i finish i'll try and help you guys out. 19:22 Travis_R: we'll see, there is 3 of us doing cdialog 19:38 _Tesh_: okay so clabel's first constructor is supposed to call cfield's, but cfield is an abstract base class...doesn't that mean i _can't_ call the cfield constructor? 19:40 Travis_R: ?? 19:40 Travis_R: don't you just put :CField() at the end of your constructor 19:40 Travis_R: but you put info inside the () 19:41 _Tesh_: not allowed, apparently 19:41 Travis_R: something like CLabel(const char *Str, int Row, int Col,int Len = 0):CField(Row, Col){ } 19:41 _Tesh_: that's the actual error 19:41 _Tesh_: yeh, that's what i just did 19:42 _Tesh_: i had a feeling it wouldn't work. 19:52 Travis_R: how do you call a parent function again? 19:52 _Tesh_: you use the scope resolution operator 19:52 Travis_R: i want to call draw() on itself 19:52 Travis_R: so... CFrame::draw() 19:53 _Tesh_: which, incidentally was what I was doing in that constructor. :: rather than : 19:53 _Tesh_: yeah 19:53 Travis_R: cool 19:53 Travis_R: i totally forgot 20:14 Travis_R: crap, in order for anything i do to work i need dfield to be done 20:14 Travis_R: cfield* 20:42 dhgiang: Did sean worked on the clabel yet? 20:42 dhgiang: anybody hear from Sean? 20:42 _Tesh_: the version of clabel in trunk was blank 20:42 dhgiang: hmm great 20:42 _Tesh_: i have been doing it on my own 20:42 Travis_R: he said he is going to be at the meeting 20:43 Travis_R: i think 20:43 _Tesh_: i don't see any clabel in his branch 20:43 Travis_R: thats because he branched before i updated the trunk 20:44 _Tesh_: i see 20:45 _Tesh_: well aside from draw, i'm done, but i can't test without cfield 20:46 Travis_R: same 20:46 _Tesh_: because of the constructor 20:47 _Tesh_: i think we should check if he's worked on it. if he hasn't or doesn't reply by tomorrow, we should start working on it ourselves. what do you guys think 20:48 Travis_R: he did work on it 20:48 Travis_R: his is the easiest one 20:49 Travis_R: i think he might be done and its only like 5 lines of code he had to do 20:49 _Tesh_: okay, in that case he should commit it 20:50 Travis_R: it is commited if i can see it 20:50 Travis_R: maybe you should update lol 21:00 _Tesh_: i did; i had to edit some conflicts to make it stick 21:00 _Tesh_: i see it now 21:01 Travis_R: k 21:02 _Tesh_: has the cfield in his branch been tested? 21:02 Travis_R: i havn't tested it 21:10 _Tesh_ has left IRC (Remote host closed the connection) 21:28 _Tesh_ has joined (~chatzilla@CPE0026f3316814-CM0026f3316810.cpe.net.cable.rogers.com)