Open main menu

CDOT Wiki β

Team B IRC Logs 20103 - OOP344

Revision as of 23:08, 24 November 2010 by Obogomaz (talk | contribs) (new log for Nov24)


OOP344 | Weekly Schedule | Student List | Teams | Project | Student Resources

Team B IRC Logs:

-Oct7, 2010

Channel view for “#rep03” opened.

   -->|    YOU (obogomaz) have joined #rep03
   <jrobinson7>    hello hello
   <obogomaz>    hello hello
   <jrobinson7>    first tings first, any idea how to make the font bigger in xchat?
   [INFO]    Font size is 13pt
   [INFO]    Font size is 11pt
   <obogomaz>    try Ctrl +
   <jrobinson7>    no dice
   <jrobinson7>    found it
   <obogomaz>    What did u learn in that gaming class today/
   <jrobinson7>    nothing much jus about different types of programming, mostly talked about games being made strictly with html5 and javascript
   <obogomaz>    Cool, what kind of game will you be making this semester
   [INFO]    You are no longer marked as away.
   <kmcdonald11>    oo, i'm mod of this room :)
   <jrobinson7>    probably a 2d old school kind of game
   <jrobinson7>    lol yeyeye
   <jrobinson7>    no kicking! :P
   <kmcdonald11>    hmm.. is there a lit of functions anywhere?
   <kmcdonald11>    list**
   <obogomaz>    sure...here...http://zenit.senecac.on.ca/wiki/index.php/Team_B_Project_Dev_Page_20103_-_OOP344
   <obogomaz>    and here...http://zenit.senecac.on.ca/wiki/index.php/Iolib_functions_20103_-_OOP344
   <jrobinson7>    o boy o boy
   <obogomaz>    lol, i've done the RIGHT_KEY already :)
   <obogomaz>    the rest is peace of cake, right?
   <jrobinson7>    haven't read wut we gotta do for the other functions yet
   <obogomaz>    good, then we'll give u the hardest ones...
   <jrobinson7>    sounds good
   <jrobinson7>    so should we get iol_edit done first?
   <obogomaz>    hey, James did u register for Fsoss yet?
   <jrobinson7>    yes and ive paid
   <obogomaz>    will do now before it's $30
   <jrobinson7>    lol i already did
   <jrobinson7>    wut keys do we still need to do?
   <obogomaz>    When are u guys going, both days?
   <jrobinson7>    i believe i am, maybe even wednesday for a gaming thing not sure tho
   <obogomaz>    i've done three keys so far, but did not commit yet
   <jrobinson7>    wasn't there only 4 to do? lol
   <jrobinson7>    well 5 i suppose
   <jrobinson7>    have you tested? and commit so i can update
   <obogomaz>    can't remember now, i stopped on BACKSPACE so hopefully after that picture assignment is done we'll have more time
   <obogomaz>    tested-yes, commit-no
   <jrobinson7>    its one click away come on! lol
   <obogomaz>    i guess i'll commit tomorrow and update that little table in Proj Dev page
   <jrobinson7>    i think kaitlyn might be in a quest of some sort :P
   <jrobinson7>    so wut keys still need to be done??
   <obogomaz>    kaitlyn has guests? lol
   <jrobinson7>    quests with a Q
   <obogomaz>    Se is probably working on the functions
   <jrobinson7>    it was a joke lol
   <obogomaz>    i hope she is not easily offended lol
   <jrobinson7>    id be working too but i have NO idea wut uve done so I don't know wut to do :S
   <obogomaz>    i'll let you know tomorrow about the keys, just see if there are functions you like to do and add them to that table on the Proj dev Page
   <obogomaz>    do them all... :)
   <jrobinson7>    you wish
   <jrobinson7>    let me check out this displayflag
   <obogomaz>    Sounds good...
   <jrobinson7>    so are you building off our teachers files?
   <obogomaz>    I hope the hacking students are not on that FSOSS site
   <obogomaz>    yes, i did not add them to the trunk?
   <obogomaz>    i thought i did
   <jrobinson7>    nope
   <jrobinson7>    well no commit
   <kmcdonald11>    yes, sorry.. i have a very chatty roommate who doesn't leave me alone
   <kmcdonald11>    her friend came over, so i think i'm safe
   <jrobinson7>    haha thats kool
   <jrobinson7>    i have no idea wuts going on to be honest
   <kmcdonald11>    as for FSOSS, i plan to only go the thursday. i'll go on friday if i enjoy it
   <obogomaz>    all registered for FSOSS as well, can't wait
   <jrobinson7>    ahh very nice
   <obogomaz>    Yea, it's the study week, gotta study...lol
   <kmcdonald11>    so we only have to do left, right, home, end, del, backspace, tab, escape, and insert? and just add in the "istexteditor" to tab (just declare it, i believe.. like a check variable)
   <obogomaz>    kaitlyn, Jimmy was just saying not to worry about the assignment, he is going to do all the functions alone...
   <obogomaz>    he likes chalanges
   <kmcdonald11>    haha
   <kmcdonald11>    i wish
   <jrobinson7>    lol thats wut i said.. u wish
   <jrobinson7>    umm and i believe some other functions
   <kmcdonald11>    we should make a list to get a refined view of them all
   <jrobinson7>    according to our Functions still needed to be completed:
   <jrobinson7>    ya and oleg commit damn it! lol
   <obogomaz>    i created that page, so don't trust it 100%
   <jrobinson7>    ooo haha
   <jrobinson7>    well i believe some1 said we need to do all the functions, but hey wut do i know
   <kmcdonald11>    so just all the remaining on the page?
   <obogomaz>    i guess, we could just add whatever function you are starting to work on to that list, so no one else starts on it as well
   <jrobinson7>    im working on void iol_displayflag
   <kmcdonald11>    i haven't started any of them, so far
   <obogomaz>    or you guys could decide now who is going to do what...
   <kmcdonald11>    i'll try writing down a list
   <obogomaz>    we could always help each other out, right?
   <kmcdonald11>    definitely
   <kmcdonald11>    iol_edit.. hm
   <obogomaz>    hm...???
   <jrobinson7>    lol
   <kmcdonald11>    so, if i have everything..
   <obogomaz>    i guess could try it if you guys insist...lolll
   <jrobinson7>    im still waiting for u to commit
   <kmcdonald11>    iol_edit (which includes left, right, home, end, del, backspace, tab, esc and insert), isTextEditor (easy), iol_displayFlag, iol_flag, iol_displayMenuItem, iol_menuItem
   <obogomaz>    maniana....my friend, maniana....
   <kmcdonald11>    iol_edit isn't much more than the special keys, right?
   <jrobinson7>    ya i believe so
   <jrobinson7>    build off wut our teacher has i believe
   <obogomaz>    left, right, home, end, are done...
   <obogomaz>    backspace as well
   <obogomaz>    esc as well
   <jrobinson7>    are we building this based off our own mains or our teachers main?
   <obogomaz>    i'm guessing we are testing our functions from main...later on we'll probably have some testmain
   <kmcdonald11>    i assume we use our own test mains. can erase what we had and replace to help us along the way with debugging
   <jrobinson7>    mmmk
   <obogomaz>    we should just get together and get it all done at once...seems easier
   <obogomaz>    too much time on deciding...
   <obogomaz>    i still like the idea of Jimmy doing them all, lol...
   <kmcdonald11>    yeah, would make it easier as well. for all of us to collaborate and such
   <jrobinson7>    well its up to you guys i'll do wutever it takes
   <kmcdonald11>    well tomorrow after oop is our dbs stuff. marina did it last semester and said it's pretty easy
   <obogomaz>    sounds good to me
   <kmcdonald11>    as long as we have a rough idea of each function, whenever we meet to code it, it shouldn't take too long. we can debug together and make sure it works
   <kmcdonald11>    it's just that monday is a holiday
   <kmcdonald11>    which leaves tuesday.. our longest school day, and it's due wednesday at noon
   <obogomaz>    i'm just playing Jimmy, we'll all do an even part of work, otherwise you'll get better knowledge
   <jrobinson7>    i know i know
   <obogomaz>    i'll try to do some work on the weekend and post it to that table on Proj Dev Page as well as commit it to the trunck
   <jrobinson7>    i agree tho if we get together itd go a lot more smoothly
   <jrobinson7>    and oleg PLS COMMIT!
   <jrobinson7>    lol
   <jrobinson7>    we can talk about it more tomorrow
   <kmcdonald11>    i'll take a look at the menu things. edit should be pretty easy if we follow fardad's lead
   <jrobinson7>    so we all really have an idea of wut needs to be done over the weekend or w/e
   <kmcdonald11>    right
   <obogomaz>    right
   <kmcdonald11>    like write it on paper or something just so you have a rough idea of the functions
   <kmcdonald11>    and how they work
   <jrobinson7>    ya soundgood
   <obogomaz>    How about next meeting is over the phone, my typing really sucks... :)
   <jrobinson7>    and we can kinda do the same thing with dbs
   <jrobinson7>    or if we have time just work on it
   <kmcdonald11>    well i'm hoping dbs will be completed tomorrow, if not close
   <kmcdonald11>    shouldn't be hard
   <jrobinson7>    ya its usually pretty straight forward
   <jrobinson7>    jus grab code from here and here and away we go
   <kmcdonald11>    yeah, plus the 3 of us should be able to figure it out in no time
   <obogomaz>    sounds good, should we save that as our IRC meeting?
   <jrobinson7>    we can save this but i don't know how good it is hahaha
   <kmcdonald11>    better than nothing, i suppose
   <obogomaz>    hey, we did talk about assignment and did not use bad words, i guess it counts
   <jrobinson7>    i jus saved
   <obogomaz>    don't forget to commit it


-Oct14, 2010

Query view for “jrobinson7” opened.

   <jrobinson7>    hey u there?
   ===    jrobinson7 <~Jim@CPE001d7e527dfa-CM00111ae5c584.cpe.net.cable.rogers.com> “Jim”
   ===    jrobinson7: member of #seneca-oop344
   ===    jrobinson7: attached to asimov.freenode.net “TX, USA”
   ---    End of WHOIS information for jrobinson7.
   <obogomaz>    hey, just started on oop?
   <obogomaz>    sorry not a question..
   <jrobinson7>    lol
   <jrobinson7>    ya i cant merge this crap
   <jrobinson7>    i tried adding in the code i made different and it wont compile
   <jrobinson7>    and it wont let me merge
   <obogomaz>    why wont compile?
   <jrobinson7>    dont know bunch of errors
   <jrobinson7>    and if i dont add it in i cant merge cause svn doesn't know wtf it is
   <jrobinson7>    but my files work great, just wont merge
   <obogomaz>    just add your functions one by one, never mines iol_edit or main
   <jrobinson7>    so wut would u like me to do for iol_edit?
   <obogomaz>    not sure, give me 10-15in to look it over again and i'll let u know
   <jrobinson7>    kk sounds good
   <obogomaz>    ok, do you want to work on home key, it works but there is a bug somewhere?
   <jrobinson7>    lol i'll take a look in a min
   <jrobinson7>    everything commited?
   <obogomaz>    good, just read the iol_edit description for a few min, i'll commit in 5 -10 min
   <obogomaz>    hey, are u there?
   <jrobinson7>    ya just working on dbs
   <obogomaz>    Ok, i just committed my branch
   <obogomaz>    if you want to work on Home and END keys
   <obogomaz>    take iol.2 from my branch
   <jrobinson7>    alright im gonna work on it outside of svn
   <obogomaz>    now, there are two tests for home and end keys
   <obogomaz>    one in the beginning of testmain
   <obogomaz>    and one in the middle
   <obogomaz>    for different modes
   <jrobinson7>    so dont take iol.3?
   <obogomaz>    i can get them to work fine for each test but it is somting to do with texteditor on and off
   <obogomaz>    see if you can spot a problem, feel free to modify anything else, just let me know
   <jrobinson7>    but dont take iol.3?
   <obogomaz>    o, by the way, how is Kaitlyn?
   <jrobinson7>    i dunno
   <jrobinson7>    lol
   <jrobinson7>    iol.2 or iol.3????
   <obogomaz>    iol.2 and iol.3 same, i just made a copy rigth now
   <obogomaz>    i'll work on 3 so i'll be modified
   <jrobinson7>    ahhh kk
   <obogomaz>    you should ask
   <obogomaz>    here
   <jrobinson7>    huh?
   <obogomaz>    ...corection...her
   <jrobinson7>    how? lol
   <obogomaz>    i dunno
   <obogomaz>    mail
   <obogomaz>    phone
   <obogomaz>    in person, may be
   <jrobinson7>    lol
   <jrobinson7>    home just crashed the program haha
   <obogomaz>    that hacking class really help ...
   <jrobinson7>    lol
   <jrobinson7>    im getting so confused lookin at this
   <obogomaz>    trust me i know
   <jrobinson7>    alright so i took out done = 1 just to see wut would happen, and it works, but im still not sure wut this textedit crap is
   <obogomaz>    it works with both tests?
   <jrobinson7>    haven't done his test
   <jrobinson7>    which number is it?
   <obogomaz>    not sure start from 1
   <obogomaz>    mark wc ones not workg
   <obogomaz>    damn, somthinf wrong with my wireless keyboard
   <obogomaz>    misses letters
   <jrobinson7>    hmmm
   <jrobinson7>    this is tough lol
   <jrobinson7>    so in the code, how can it tell if anymore characters can be entered?
   <jrobinson7>    i think i found something wrong with overstrike mode
   <obogomaz>    if str < maxdatalen
   [ERROR]    The command “/” is not known to the server.
   <jrobinson7>    yes
   <obogomaz>    ??
   <jrobinson7>    thats wrong
   <obogomaz>    what?
   <jrobinson7>    since it replaces characters, it doesn't matter if the field is full
   <jrobinson7>    jus has to check if its at the end of it
   <obogomaz>    that is the same, once it's at the nd wont go anyore
   <jrobinson7>    no
   <jrobinson7>    if ur at the beginning of the string and the feild is full and overstrike is on
   <jrobinson7>    you can still type in it
   <jrobinson7>    but with that statement it shows the strlen is full and wont edit it
   <obogomaz>    that's why <=
   <jrobinson7>    lol
   <jrobinson7>    u dont get what i mean
   <jrobinson7>    or
   <jrobinson7>    i dont get it
   <jrobinson7>    lol
   <jrobinson7>    im so lost in this code
   <obogomaz>    let me test it quickly
   <jrobinson7>    ya i think im wrong
   <jrobinson7>    i was looking at a test that has to do with insert, but was looking in overstrike lol
   <jrobinson7>    ya im stuck at test 9.6
   <jrobinson7>    ok isTextEditor
   <obogomaz>    what do u mean?
   <jrobinson7>    wtf is it
   <jrobinson7>    lol
   <obogomaz>    that is what confuses the hell out of me...istexteditor
   <jrobinson7>    lol
   <jrobinson7>    i dont think u have to check it when some1 is typing in crap
   <obogomaz>    overstrike mode modified now, works 100%
   <jrobinson7>    cause in 9.6 its set to 0 so it wont add anything in the txtbox but is suppose to
   <obogomaz>    i know i was going to look into that now
   <obogomaz>    you are probably right, i was going to test it without istext on
   <obogomaz>    Ok, passed 9.6 when not checking for isTextEditor, we'll leave it at that...
   <obogomaz>    good eye
   <obogomaz>    i think once we get home and End keys working properly, we are almost done....
   <obogomaz>    Home key done, tested and working, we'll do end key now
   <jrobinson7>    i think it is working fine
   <jrobinson7>    home and end
   <jrobinson7>    and ya daleee said we dont need to check it
   <obogomaz>    what
   <obogomaz>    there are more tests for home and end around 9.16
   <jrobinson7>    o ok im not there yet lol
   <jrobinson7>    uh oh i failed 9.9 lol
   <jrobinson7>    got to 9.19 before failing
   <obogomaz>    forget it, i'll leave it till tomorrow, the rest all fail too
   <jrobinson7>    lol well i got to 9.19
   <obogomaz>    i think i know where the rest of the problems are, end key sold be ok to fix and the make the left right keys to terminate the function when sift has happened
   <jrobinson7>    i crashed it during the test when it said hit any button and i hate space and it crashed lol
   <jrobinson7>    and im having trouble with end
   <obogomaz>    let me know if you fix any more problems, i'll go see what the wify is up to...
   <obogomaz>    no good...
   <obogomaz>    went for stupid exray after school
   <jrobinson7>    ah howd that go
   <obogomaz>    wrist may be broken
   <obogomaz>    find out tomorrow
   <jrobinson7>    damn that sux man
   <obogomaz>    i hope they don't put the cast
   <obogomaz>    i committed iol.3 in my branches if you need it
   <jrobinson7>    alright kool
   <jrobinson7>    thats with outdated code of mine lol
   <obogomaz>    so did u manage to merge to trunk
   <jrobinson7>    no but i jus got end to work i believe
   <obogomaz>    cool, how, there is more stuff to code about [Section #1] IsTextEditor and *offset

-Nov17, 2010

fardad_>
kmcdonald11: jrobinson7: obogomaz : ping?
<kmcdonald11>
pong!
<obogomaz>
pong
<jrobinson7>
fardad: pong
<fardad_>
ok, lets start
<jrobinson7>
okidoki
<fardad_>
we have three things tasks:
<fardad_>
1 - programming
<fardad_>
sorry
<fardad_>
who wants to start the project?
<kmcdonald11>
I don't mind
<fardad_>
ok
<obogomaz>
whoever you say
<kmcdonald11>
I'll do it
<fardad_>
ok kmcdonald11: Start doing FWBorder
<fardad_>
kmcdonald11: you assistant will be jrobinson7
<jrobinson7>
lol
<obogomaz>
what about me?!
<fardad_>
if you got problem , he will help you and if you don't have enought time, give parts of it to him
<fardad_>
obogomaz: wait
<obogomaz>
sorry
<fardad_>
kmcdonald11: you need aroung 3 to 5 hours to complete and test it with my tester
<fardad_>
is 0.3 done?
<obogomaz>
0.3 is done
<fardad_>
3 - 5 hours of programming though, that is around a day an half
<kmcdonald11>
and when should it be completed by?
<kmcdonald11>
approximately
<fardad_>
to I expect FWBorder to be done in about 30 hours
<fardad_>
and tested
<fardad_>
jrobinson7: you have another respoisiblity that is make sure your team page is upto date with your tasks and who isi doing what
<fardad_>
obogomaz: you start coding FWField
<fardad_>
since 0.3 is done, you will have no problem doing it, but since it is an abstract class you won't be able to test
<fardad_>
it
<fardad_>
so by the time FWBorder is done and tested, your FWField must be completed and compiled
<obogomaz>
ok
<fardad_>
obogomaz: notify me when it is done so I cam check and make sure you didn't miss anything
<fardad_>
obogomaz: one more thing for you
<fardad_>
obogomaz: you are responsible to setup the next meeting
<obogomaz>
fardad_: ok, no problem
<fardad_>
Team B: note that although I gave you 30 hours, but ou can do this much earler and the eariler the early stages are done with, you will have more time to work on complicated parts
<fardad_>
also
<fardad_>
Although I assigned who is supposed to do what, but between yourself feel free to help eachother in any way you can, programming documentation... whatever
<fardad_>
ok?
<jrobinson7>
sounds good
<jrobinson7>
i do have 1 quick question
<fardad_>
jrobinson7: go...
<obogomaz>
Fardad_: also how many meeting are we allowed to book in a week
<jrobinson7>
i wrote down all the notes for the wiki page, is Member Tasks the same tasks under Todo but organized by each team member?
<fardad_>
obogomaz: 953!
<fardad_>
jrobinson7: look at team.h's page, they have the sturcture done, add them yours and you will be fine
<jrobinson7>
ok thanks
<fardad_>
if any question at the man time, just ask
<fardad_>
you can also call me on my skype account if I am online
<fardad_>
my skype id is "sosfardad"
<fardad_>
Any questions?
<kmcdonald11>
nope, sounds fine
<fardad_>
Marina_Y: ping?
<fardad_>
team B: the meeting is over, thanks for dropping by...
<jrobinson7>
and thank u kindly
<obogomaz>
thank you
<fardad_>
gnite...

-Nov24, 2010

=-=
fardad_afk is now known as fardad
<fardad>
hello
<obogomaz>
fardad: hello
<fardad>
Team B: ping?
<kmcdonald11>
pong
<jrobinson7>
fardad: pong!
<obogomaz>
fardad: pong
<obogomaz>
fardad: we have a lot of question
<fardad>
before we begin,
<fardad>
don't forget to add my name under the team members and assign a task
<jrobinson7>
lol
<obogomaz>
ok
<fardad>
If you like my help :)
<fardad>
ok I am all eyes....
<obogomaz>
james, do u want to ask first?
<jrobinson7>
i dont even know wut to ask, im just so confused lol
<obogomaz>
ok, i'll ask first
<fardad>
go ahead
<obogomaz>
fardad: i'm working on the FWDialog
<obogomaz>
fardad: so in FWDialog::draw(int fn) how do we draw all the Fields in the Dialog.
<fardad>
ok...
<fardad>
well
<fardad>
not really
<fardad>
read the desc properly
<fardad>
depending on what is the value of fn, draw works differently
<obogomaz>
first we draw FWBorder::draw(fn);
<fardad>
only if fn is Refresh or full_frame
<obogomaz>
for example if ((fn == FW_REFRESH)||(fn = FW_FULL_FRAME)){
<obogomaz>
FWBorder::draw(fn);
<obogomaz>
// Then draw all the Fields in the Dialog.
<obogomaz>
}
<fardad>
then if fn is 0, draw everything and then start editing the first editable
<fardad>
obogomaz: what are you refereing to? what I did in class?
<fardad>
obogomaz: ?
<fardad>
obogomaz: ping?
<obogomaz>
fardad: pong
<obogomaz>
fardar:
<obogomaz>
fardad: in FWDialog::draw(int fn) under two conditions we have to
<obogomaz>
draw all the Fields in the Dialog.
<fardad>
obogomaz: you didn't answer my question:
<fardad>
are you refereing to the wiki description, or the example I did in class?
<obogomaz>
fardad: sorry, wiki description for FWDialog::draw(int fn)
<fardad>
ok,
<fardad>
then yes, the conditions are right,
<fardad>
under two conditions all the fields are drawn, but if fn is greater than zero , then only the field number "fn" is drawn, and editing begins with that one.
<obogomaz>
i understand the conditions, i'm just a little confused on the actual statement to draw the fields since FWField does not have the draw function
<fardad>
obogomaz: ofcourse it does...
<fardad>
obogomaz: it inherits it from border
<obogomaz>
fardad: so we say FWField::draw()
-->|
daleee (~dale@CPE001a70f2eb55-CM00222d55edbd.cpe.net.cable.rogers.com) has joined #seneca-oop344
<daleee>
anyone know what this means for FWButton: "First draw() the Button, then surround it by squared brackets, place the cursor under the first character of Button's text and wait for user entry."
<daleee>
surround it by square brackets = wut?
<kmcdonald11>
daleee: means you first put the text on the screen, then do []'s around it and finally move the cursor forth again. a lot of jumping around, from what i understand
<daleee>
kmcdonald11: are we supposed to use iol_flag for the [ ] ?
<fardad>
[daleee] is surrounded by squred brackets
<kmcdonald11>
i didn't. i used putch('[');
<daleee>
hmm..
<daleee>
iiiinteresting
<fardad>
daleee: run the example on matrix
<daleee>
oh yeah
<daleee>
forgot about that xD will do!
<kmcdonald11>
fardad: in FWLineEdit, we use iol_edit. it says to use some of FWLineEdit's attributes to call iol_edit();, but things like readOnly and isTextEditor aren't specified in FWLineEdit (unless I'm mistaken). do we just pass in what makes sense for our case in 1s and 0s?
<obogomaz>
fardad: also In FWDialog::edit(int fn)  how do we begin editing from the first editable Field or go to next editable Field.
<fardad>
kmcdonald11: yes
<fardad>
put them in a loop and check for the editable to be true,
<fardad>
and run the first one
<fardad>
and then depending on users action, loop to next, or previous
<kmcdonald11>
is it cool if I keep asking questions, or shall I wait until Oleg has finished?
<obogomaz>
fardad: thanks
<fardad>
kmcdonald11: go ahead
<obogomaz>
kmcdonald11: it's ok you can go ahead now
<fardad>
kmcdonald11: that is very normal in IRC
<kmcdonald11>
alright. in a few of Field's children, there are functions that as us to make Field's _data point to something. would you use
<kmcdonald11>
this->_data = temp; ?
<kmcdonald11>
or should there be more to that?
<kmcdonald11>
and temp being whatever the new thing is
<fardad>
very correct and ok
<kmcdonald11>
alright, and one more
<kmcdonald11>
there's a part in FWButton where we call iol_display(). the first data type it takes is a string, but since we're dealing with our void* _data, would you use:
<kmcdonald11>
iol_display((char*)this->_data, ..etc);
<daleee>
you can just do (char*)_data
<daleee>
pretty sure
<fardad>
kmcdonald11: perfectly correct
<kmcdonald11>
yeah, the whole "this->" thing helps me grasp the "this object" idea. but they should both do the same
<kmcdonald11>
alright, those were my 3 questions. thank you!
<fardad>
daleee: yours is correct too, but kmcdonald11 is bug proof
<kmcdonald11>
;)
<jrobinson7>
my turn? :D lol
<fardad>
jrobinson7: go...
<jrobinson7>
ok working on void set(const void *Str)
<fardad>
ok...
<jrobinson7>
is "the newline delimited array of characters" refering to the Str?
<fardad>
jrobinson7: are you talking about text?
<jrobinson7>
sorry yes FWText
<fardad>
jrobinson7: wow, already there... cool, ok, go ahead
<fardad>
and the asnwer is yes
<jrobinson7>
ok and i must convert it into an array of strings, wut is that refering to?
<jrobinson7>
_lines?
<fardad>
I coded two classes that you can use, a dynamic array of strings and a double linked list
<fardad>
or you can design your onw
<fardad>
s/onw/own
<fardad>
brb
<jrobinson7>
ok team B which would you guys like for us to use?
<obogomaz>
the easier one to understand
<jrobinson7>
dynamic array of strings probably
<kmcdonald11>
although linked lists would give us practice..
<kmcdonald11>
but doesn't matter to me
<jrobinson7>
easier to understand sounds good to me since im already confused as hell
<obogomaz>
doesnot matter to me either as long as we are done on time
<kmcdonald11>
yeah, go with dynamic array
<obogomaz>
im having a bunch of issues with fwdialog as well
<jrobinson7>
im still not sure how to use this lol
* fardad
is back
<kmcdonald11>
which part?
=-=
daleee is now known as daleee[afk]
<obogomaz>
fardad: one more question if it's ok?
<fardad>
jrobinson7: try the array separatly first
<fardad>
obogomaz: go
<obogomaz>
for FWDialog FWDialog::add(FWField* field, bool dynamic)
<obogomaz>
is this how we add new field to the array
<obogomaz>
_fld[_fnum+1] = new FWField;
<obogomaz>
_fld[_fnum+1] = field;
<fardad>
nop
<fardad>
obogomaz: give me a second ok?
<obogomaz>
ok, thanks
<fardad>
obogomaz: Ok, the action of allocating/creating a new Field is done by the one calling the add method
<fardad>
obogomaz: (look at the main I wrote)
<fardad>
obogomaz: all you need to do, is to assing it to the next _fld in array
<jrobinson7>
if i use ur dynamic array is it as easy is using a normal array? such as _lines[i][j] = data
<fardad>
obogomaz: and to make sure your set is allocation flag (_dyn) to the proper value, depending on _fld being passed by address (flag is true) or passed by reference (flag is false)
<obogomaz>
ok, i'll look at the main first, thanks Fardad
<fardad>
jrobinson7: _line[i][j] refers to a single characher
<fardad>
jrobinson7: _line[i] referes to a string (one line of text)
<jrobinson7>
yes
<fardad>
jrobinson7: at least walk through the source first :)
<jrobinson7>
well i was doing one character at a time lol
<fardad>
jrobinson7: again, the code is "use at your own risk" I will not assure you of it being easy or bug free....
<fardad>
jrobinson7: !!!!!!!!!!!!!!!!!!!!
<fardad>
ok
<fardad>
jrobinson7: whatever makes you happy :)
<fardad>
jrobinson7: I think actually that woudl work ok....
<jrobinson7>
well if i did it right then i shall be very happy lol
<fardad>
ok anyone, it is getting close to  10, any questions?
<fardad>
obogomaz: welcome
<obogomaz>
not at the moment, thank you Fardad
<fardad>
ok everyone, if there is no question, I'll be gone...
<jrobinson7>
ok thank you very much
<fardad>
gnite everyone....
|<--
fardad has left freenode (Quit: I wanna go home; Take out this uniform and leave the show...)
<jrobinson7>
i think having all these functions with return 0 looks perfect to me :D
<obogomaz>
it's confusing for sure