| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13
Comments:
<0> The virus is in the hidden recycle bin directory! <1> heh <0> And it'll sink the tanker <2> my favorite bull**** hack thing in movies of all time was in independence day <1> hahaha <3> Well... one thing was wrong... he read 10,000 account numbers from a green monitor with a scanner from a fax machine in like 2 minutes... <0> MmmCake: USB is THAT MUCH universal <2> hahaha <3> I don't think that is possible, due to interference. <2> MrAshe, i never thought of that.. hahaha that's funny hahaha <1> they wouldn't call it the -universal- serial bus for nothing. <1> it's an intergalactic spec. <2> haha <3> USB wasn't invented by humans <2> yeah we reverse-engineered it from the Roswell crash <1> hahaha
<3> They found the specs during the first visit to the moon, and have since been working to build computers around it. <2> heh <0> Nobody went to the moon <0> Liar! <2> haha <4> somewhere across the galaxy, a couple of aliens in a bar are getting drunk: "damn USB.. should never have let them get their hands on it. They found out that an interface is a contract." <5> has anyone here did formal methods? <3> lower 1% I think <2> Chevi19M, what's that? like proving program correctness, etc? <3> has ... did ... <5> ye something like that <2> i did it many moons ago.. all i remember is the upside-down A <3> What moon? <1> speaking of moons <5> :| <3> You don't think the moon really exist, do you? <1> nasa jpl put out a new video <3> Did you ever see a werewolf??? <3> Right, q.e.d. <1> they synthesized a 3d model of titan's surface near the huygens landing site. <5> i want someone to check it to see if it is correct <1> and created a video of huygens' descent. <2> NineVolt, oohh.. should i dl it? <5> i'm practicing them for my exams <1> it's -way- better than the pictures they released a few months back. <1> personally i was unimpressed by the pictures. <3> If you ever think you see something in the sky that looks like "the" moon, don't be fooled. They use large lasers to burn the image in the sky. <1> while i'm sure their value to geologists is priceless. <3> Ozon-hole my *** - that is, it's there alright - until they finally turn off those lasers! <3> I bet I missed a metro now. <3> bbl <3> AHAHAHAHAHA! I FOOLED YOU ALL! I DIDN'T LEAVE, AND NOW I SEE THAT EVERYONE STOPPED TALKING AS SOON AS I LEFT! This whole channel is just FAKE! Only here to let me THINK that undernet exist! <3> That... or my server is lagged again... <2> yuo got us, this is a real-life truman show <3> ok, I'm out, have to paint my hair too. <2> hehe ok later <2> paint your hair? <2> are you a chick? <3> blue <3> chciks use pink, didn't you pay attention? <2> oh yes of course <0> He's going to change them anyway <2> ok well later run.. i gotta go get schwarma <0> And btw it's black + some electric blue <0> It'd be fun if it was orange + green <6> Hi, can someone please help me with the iterator design pattern? <7> just ask <6> hey, I need to write a design pattern that iterates through the command line parameters, and I don't really know how the iterator design pattern works... <7> what do you mean how it works? think of how you iterate over any container, like a vector <7> boost has a nice little library for dealing with commandline parameters <7> you could also build a vector<string> of parameters <6> what do I need to include in my iterator? ie. What operators should I overload? <7> look at an existing iterator implementation - like vector's... at least *, ++, --, some comparison operators, etc <7> what is each 'element' in this sequence going to be? <7> a string representing the token? <6> its going to be strings <7> then why not use a vector<string> and simply iterate over it? <0> You can already iterate over argv :/ <6> I need to write the iterator myself. <7> says who?
<0> typedef char ** iterator; :/ <7> yeah, that's true heh <6> I'm studying, and that's the ***ignment <7> but whatever you're reading doesn't tell you anything about how the iterator is supposed to be implemented, or what it should be compatible with? <8> can you cast a de-referenced cl*** pointer as a cl*** reference.. i.e. fellows.remove((friendlyCl***&)(*rc)); <8> it compiles but im not sure how this will work at runtime.. lol <9> why not? but won't you consider using c++-style casts? <8> aight.. <8> u got a link? or can show a quick example ? <0> What type is rc? <8> cl*** <0> ... <0> Ok, but which cl*** <8> roleCl*** <0> So it's a roleCl*** *? <8> yes... rc is a roleCl*** pointer <8> thats why i dereference first <0> And how is friendlyCl*** related to roleCl***? <8> cl*** friendlyCl***: public roleCl*** { <8> :) <0> Any reason why you don't use a friendCl*** * instead of a roleCl*** *? <8> mm.. cos the virtual method in roleCl*** uses roleCl**** as param <8> but i guess it dont matter ? <0> Well, how can you be sure it's a friendlyCl*** and not something else that inherited from roleCl***? <8> good point <8> man i just get lots and lots of errors <0> Where? <8> if i p*** a friendlyCl**** in as a param <8> how would i turn that into a firndlyCl*** reference <8> cost std::list::remove() etc want a reference as param <8> i cant get it to work if I declare it with roleCl**** in roleCl*** (as virtual function) and declare it with friendCl**** in friendCl*** <8> err what am I doing... what a plonker - brb <10> sup all <8> because roleCl*** is abstract it wont let me p*** a roleCl*** reference into the std::list::remove() function... so i need to cast it as a subcl*** or something... but i dont want to limit it to a certain type of subcl*** <9> Antrix: you should use list of pointers then, but there're some drawbacks with it <8> mm.. <8> oh man i just realised <8> its not a problem <8> i will override this method again in the other cl***, so i can cast it with the correct reference type <8> i should not be allowed to do C++ :/ <8> void push_back(const T& x); - does this mean push_back pushes the reference to the back of the list.. or does it make a copy and push it at the back of list ? <8> if any of you STL gurus know from the top of your heads :) <11> http://www.sgi.com/tech/stl/ <8> oh wait.. if it's a list of actual data types (and not a list of references), then it *must* add the actual value (and not just the reference) ? <8> thanks :) <11> Of course. :) <0> Anybody who used any STL container knows from the top of his head <8> yeh.. i only started using it yesterday <12> it takes a reference Antrix <12> then makes a copy internally <8> thanks for confirming :) when i thought about it; it was quite obvious <12> np, we all start somewhere <8> yep <8> give me a week and i'll be a different person :D <0> Finally getting that *** change <0> Good <2> heh <2> antrix, for your information the const type & idiom is a common one you shuold get in the habit of using yourself as well.. <2> rather than p***ing pointers around -- avoid pointers in most cases unless the thing can be null or unless you are working with a datatype that should never be auto-allocated <2> 4'H1E' <8> got it <8> yeh operation is pretty expensive but i funded it all with my rather elite c++ programming skills <2> elite eh? <2> not 1337? <8> nah <8> :) <12> MmmCake: wtf <2> ? <12> did you just type shawarma <0> You shouldn't mix & and const & in a single sentence when telling him ;) <2> haha yeah <2> in arabic <12> yea heh
Return to
#c++ or Go to some related
logs:
Diskoteka (Kobbe #chatzone fopen vista Slarttibartfast web-footed gecko #MissKitten pdf manegmet #c++ mini minor sabiha #AllNiteCafe
|
|