| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13
Comments:
<0> hahah <1> oh, and for cowmoo: a washing machine is a machine you wash clothes in <0> I know you diidot <1> you wash clothes so you don't smell as bad <0> tis a sad life when your biggest joy is a new washer <2> next you get that elektikity stuff? <1> pfft <0> but knowing peterhu, no surprises there <1> it's a sweet washer beotch <1> cost me 10 bealtine annual salaries <2> that much...get a refund <2> and buy a real one :) <1> this one folds my clothes and dresses me in the morning <1> plus, it dispenses candy <2> and a quick blowjob too? <1> i wouldn't advise sticking one's member in a machine
<2> oh wait thats the hoover... <0> the vacuum cleaner to our american friends <0> or enemies, in the case of this one <1> pfft, at least ours isn't camel powered <2> so named after the freak that used it <0> sigh, wish I got a dollar for every time that joke was tossed my way <1> you'd have one dollar <1> which, in cowmooistan, buys a lot <0> that's what everyone thinks <2> good morning btw <0> but our currency is tied to the dollars <0> er <0> US dollar <1> ****ers <0> 2.6 of yours is one of ours <1> we're taking you down with us! <0> too bad you morons are ruining it all <2> after or before the bj ? <0> after I believe <3> how is it possible to test that an element i of a vector of cl*** is empty? <0> what? <2> whats a vector? <3> a container <2> umm <0> I mean, please rephrase your question <1> Minos2: a vector can't hold "empty", it can contain no elements (itself being empty) <3> I will try <3> I have a vector of cl***es <2> shared_ptr i hope ? <4> Minos2: you mean: cl*** instances? <2> ok and ? <1> futurama quote: "that question is less stupid, though you asked it in a profoundly stupid way" <3> double, int.. + void,... <3> then I delete a cl*** that is the element i of that vector for example <3> I would then like to erase the element i <3> but for that I need an iterator to this element <3> am I correct? <4> Minos2: what's the definition of cl*** for you? it doesn't make sense to me <3> vector <Curves*> curves_queue; with Curves a cl*** <2> naked pointer in a vector are naughty <1> i think his question is: std::vector<SomeCl****> v; v.push_back(new SomeCl***); delete v[0]; // How do I also erase it? <3> yep <1> v.erase(v.begin() + 0); <2> the vector "slot" or the cl*** itself? <4> shared_ptr would do the trick too <3> yes the vector slot <3> thank you peterhu <2> that wont delete the cl*** <2> though <1> he knows that, i think <2> hopefully :) <4> why does everybody say cl*** instead of (cl***) instance? you can't delete cl***... <1> Minos2: you should consider using boost::shared_ptr rather than storing raw pointers; that way you simply erase the element and it handles memory management <1> www.boost.org for more information <0> why begin() + 0 and not just begin() <1> it is being proposed for the next c++ standard (tr1::shared_ptr) <1> Cowmoo: i wanted to make it clear that it was using the offset <2> 3 cheers for shared_ptr<> <1> as vector supports random access iterators <3> and v.erase(v.begin() + 5); for example is also working?
<1> offset = element indedx <0> yaya <0> k <0> yes Minos2 <0> look at the docs for .erase <4> cowmoo = moojuice? <0> ... <0> pardon? <4> apparently not <4> we used to have a regular called moojuice <0> who's we <4> this channel <1> mathieu: no, different person <0> perhaps it was before my time <2> moo was a brit <0> sorry to disappoint <1> Minos2: it should, if you're looking to delete the 6th element <1> (erase) <3> cowmoo: I did, and because of that I wrote a function in order to find iterator corresponding to the given cl*** <1> i don't mean delete <4> i thought you were him, but then you started asking stupid questions :) <1> heh <1> Cowmoo is clearly no juice <0> who me <0> I didn't ask anything <4> 16:30 < Cowmoo> why begin() + 0 and not just begin() <4> ok it doesn't have a question mark <4> but still <0> eh <1> oh snap <0> how's that stupid then <0> well, perhaps I should've scrolled up before asking <4> as always <2> begin()+0 is begin() :) <1> Minos2: also keep in mind the performance implications of erasing elements from a vector that are not at the end <0> yes bealtine, was the point of my question <4> i seemed obvious to me what was the point of the redundant +0 <2> Minos2 : perhaps a diff container might suit you better <1> mathieu: that's cause you = smarter than moo <2> maybe a dequeue <4> peterhu: well my point exactly. moojuice seemed quite smart to me :) <0> +i maybe, but not +0 <1> (deque) <0> good for you then, I'm proud of you <2> i lost my spullchucker <1> for a long time i mispronounced "deque" <0> Im' sure everyone did <2> 2deck" <2> -2 <1> where is your quote on your whacky layout? <0> especially since OED lists it as an alternative spelling for dequeue <1> yeah, which is why i think it's all a horrible conspiracy to make new people feel like idiots <1> like "gnome" <2> thats the whole point of technobable <0> gnome is what <0> g-nome? <1> yeah <0> ugh <1> as in GNU-nome <0> yea <1> hard G <1> silly twits <1> should just spell it correctly <0> I'm sure mathieu is the sort of person who'd take pride in pointing out said pronunciation errors <1> i certainly do <0> correlating it with intelligence <4> Cowmoo: and spelling errors! <0> rather. <1> and grammatical errors <4> but only in dutch. <4> so don't worry <4> :) <0> thank heavens, we're saved
Return to
#c++ or Go to some related
logs:
write xml to textfile
#mirc #linux sasse virus #linux #AllNiteCafe java newinstace PWLA8391GTL linux chipset #AllNiteCafe #MissKitten
|
|