| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
<ZorbaTHut> they also generate less heat, which is important in the summer. <kawfee> ZorbaTHut: put them outside with the other pets <Daveman> heh <Daveman> haha, free-range boxen? <Daveman> this isn't a farm, you know ;) <kawfee> exactly <berty> in colorado machines that run hot are less expensive than natural gas <kawfee> berty: how so? <berty> natural gas is more expensive than electricity <kawfee> wouldn't an electric heater be more appropriate? <Daveman> lame <Daveman> nah, just overclock an old pentium? <Daveman> or seven <Daveman> :P <Daveman> intel-spaceheaters++ <ricebowl> why bother overclocking? Just buy one of the new ones. <Daveman> haha <ricebowl> seriously, must be up to like 130W by now <PreZWork> y'know, I really dislike the obj.template func<T>() syntax <kawfee> ricebowl: hi <Soronel> 256 color depth makes remote desktop way faster <drenyx> ok....so I'm gonna ask...my teacher in this OOP cl*** says that to do a push_back into a vector of a cl*** type, the cl*** needs to have an overloaded ***ignment operator defined <ricebowl> oh man my head...caffeine hates me <drenyx> I can't find a reference to that anywhere <kawfee> ricebowl! <ricebowl> drenyx - I don't think you would need to overload operator =, but it's generally a good idea <ricebowl> if you don't, a default one is provided, and for any non-trivial cl*** the default usually misbehaves <ricebowl> because it just copies the object directly <ricebowl> 'lo kawfee <kawfee> CAFFEINE! <drenyx> so that's *probably* why it's working in my case... <kawfee> drenyx: debug and look <ricebowl> drenyx - yes, probably... I'm not as familiar with STL, but I don't see why you would have to overload operator = for anything <kawfee> calc triad <CalcMe> triad = Rule of Three: If your cl*** has any one of { copy constructor, copy ***ignment operator, destructor }, odds are high that it should have all three. <drenyx> he had us define the private member data as const, so I'm stuck trying to figure out how I can do ***ignment of const data without creating a new cl*** type inside the ***ignment operator which goes out of scope when you return <ricebowl> kawfee - caffeine and I have a love/hate relationship. I love it, and it hates me back. This is why I am waking up at 3:30 in the afternoon. <3 <kawfee> ricebowl: caffeine gives you headaches? <ricebowl> no <ricebowl> lack of caffeine gives me headaches <kawfee> it keeps you up all night? <kawfee> oh, that just means you are addicted to caffeine <ricebowl> and lacks of caffeine makes me sleep like 14 hours ;) <kawfee> sleep is good <ricebowl> haha but not like this <kawfee> I used to sleep 14 hrs/day <kawfee> good stuff <ricebowl> and yes, I'm happily/horribly addicted to the stuff <ricebowl> some people are perpetually drunk; I'm perpetually "high" on caffeine :D <drenyx> what ****s is when you suceed at trying to cut back on caffiene for a week or two, then go binge drinking coke or something again <ricebowl> done that too. <ricebowl> I just got off a binge and I'm trying to drop back down to "normal" levels of intoxication. <ricebowl> except I don't use coke <drenyx> bawls and red bull are awesome <ricebowl> Mountain Dew is much more to my tastes <ricebowl> haha I can imagine <ricebowl> I'm thinking of just buying caffeinated water; the sugar in this stuff is killing me <drenyx> I had a ****ty schedule for a while... <drenyx> drank a red bull and a full throttle <ricebowl> haha <drenyx> that seemed to get me through the day at work <ricebowl> only works so long though <drenyx> yeah, those were for the 'bad' days <ricebowl> I'm starting to think that I need to cut out caffeine too <ricebowl> *nods* <drenyx> that was me being stuck working 40-50 hours a week while trying to do like, full time school <ricebowl> crazy <ricebowl> I did that for...a week <ricebowl> then promptly dropped down to 12 credit hours and like 10-20 hours a week at work <drenyx> yeah, well, it took at least 100 man hours or so per week to do the job <drenyx> and they were giving us 80 <drenyx> but it had to get done <drenyx> so we were getting in 50 hour weeks <ricebowl> that's crazy <drenyx> and actually I might have only been doing 9 units or so then <ricebowl> wtf kind of quit message is that <ricebowl> "I hit you in the head ..." <drenyx> but 9 units with 50 hours a week ****s *** <ricebowl> yeah, I know <ricebowl> I'd have no social life and be married to work if I were still doing the 45-hour-week thing <ricebowl> lack of money > lack of time! Sort've. ;) <drenyx> heh <drenyx> yeah, I kinda did a burn-out and right now I'm recovering from it <ricebowl> ah, that really ****s <ricebowl> I'm taking things nice & easy so as to not get burnt out <drenyx> right now, I'm sitting on my ***, getting an occasional job thrown my way and slacking off on those, slacking off on school <drenyx> it's awful <drenyx> and you know what I'm doing today? <drenyx> I'm going to the junkyard to play with my car <drenyx> well, play with getting parts for the 'project' car <ricebowl> :p <drenyx> if I can score a transmission, I'll be VERY happy :> <ricebowl> hi marty3 <marty3> wat is best program to write c++ <drenyx> gnu g++ <marty3> i want to learn the symbian platform c++ <ricebowl> um, I don't know <ricebowl> it depends on what Symbian uses <ricebowl> but C++ is mostly the same everywhere <marty3> it uses c++ <ricebowl> yes, I know <drenyx> yeah, ansi C standards and all <Yuhjn> im surprised the bot didnt kick you for the color <marty3> my color? <Yuhjn> you were typing in color <marty3> im using upp script <marty3> its white on mine <ShawnM> ghey scripts /l <ShawnM> ][ <marty3> black background <Yuhjn> well i recommend you make sure its white on eveyrones <ricebowl> lol <marty3> how? <ShawnM> not white just lack of color =) <ricebowl> marty3 - I think he wants you to disable the script <Yuhjn> that was green <marty3> o i c <Yuhjn> only the part that said hello in green <marty3> ok sorry <Yuhjn> np <marty3> is this channel for help on c++ code <ricebowl> yes <marty3> could be very usefull, could i save to my faverites <ricebowl> I don't think you need to ask permission for that <marty3> ok cool, some channels will kick without permission <marty3> so fought id ask forst <ricebowl> er? <ricebowl> that makes no sense, but anyway, I don't have time to stay <ShawnM> roger on the not making sense <marty3> anyone reccomend a good c++ program <marty3> or not <marty3> lol <upb> msvc <marty3> thanx upb <marty3> ;) <Yuhjn> calling it a c++ program... what do you expect ? <Return0> hey, I'm trying to write my operator* for a matrix cl*** that can be either row-major or col-major. I want it to be efficient, so I was thinking I should check for the possible snarios (r=rr, r=rc, r=cr, r=cc, c=rr etc.) <Return0> and index them directly <Yuhjn> overloaded ops for matrix cl***es are generally regarded as bad <Yuhjn> a standard method call is favored <Return0> really? <Yuhjn> yes, m1 * m2 could be ambigious <Return0> yeah <Return0> I just had that dilemma <Return0> I came up with a bad solution <Yuhjn> how many ways are there to multiply a matrix? <Yuhjn> at least a couple <Return0> I made a static member
Return to c++ or Go to some related
logs:
Gentoo Intel 915 politics
|
|