@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13



Comments:

<0> in theory, I should be able to do all these exams
<1> i hate exams
<0> in practice, I **** at stats. And differential equations could be tricky, depending on what integrals everything boils down to
<1> such a waste of time
<0> tend to agree. Rarely show you who's actually good at the subject
<1> matlab/mathematica/maple
<0> just who can memorise ***loads of stuff
<0> alas, I can't take my laptop into the hall
<1> even professors think exams are a waste
<1> everybody hates it
<1> yet everybody does it
<0> and this lecturer has a habit of "spicing" things up a bit. So even though the exams are nth order ODEs and linear systems thereof
<1> lets bring down the system!
<0> last years was almost entirely done in the complex numbers
<0> well, if you can think up a better way of testing 10000-25000 students a year, I'm sure they'll gladly listen



<0> every senior tutor I've spoken too hates exams as well, but thinks they're the best of a bad selection
<1> well its a good point
<2> =))
<2> life ****'s , teachers **** 2
<3> What does LPWSTR mean?
<0> Long Pointer to a Wide STRing
<0> so called hungarian notation, now "deprecated"
<3> oow... okay
<4> :)
<5> now if only camel notation were deprecated
<6> Hm, lets code again a bit...
<6> I want to p*** to a function something that tells that function what IRC messages it should trigger on.
<5> use a set of flags
<6> In the end, that is stored as one object per parameter, or one parameter and on, or a numeric for the command(/irc numberic).
<6> And there are 12 different types of 'matching'.
<6> So, I could 'construct' the matching demand as:
<6> MatchDemand foo; // Or whatever name I should use.
<6> foo.prefix(mynick_mt).command(PRIVMSG).exactmatch(3, "Run").regexp("C.. is .*");
<6> Hmpf
<6> no... that is inconsistent. I meant:
<6> foo.mynick(prefix).command(PRIVMSG).exactmatch(3, "Run").regexp(4, "C.. is .*");
<6> Also inconsistent then... You'd expect that to be .privmsg().
<6> Maybe like this?
<6> foo(PRIVMSG).mynick(prefix).exactmatch(3, "Run").regexp(4, "C.. is .*");
<5> sk8ing, member functions take a hidden parameter so you won't be able to use them for other function pointers even if the function signnature "looks the same"
<7> hmm so it gets kinda specialised?
<8> what are you p***ing a function pointer to?
<7> to another function
<8> yeah, what function?
<7> from another object it manages the updates to a db for different objects and this function that I'm p***ing is packing the data
<7> , after "from another object"
<8> um
<8> why don't you call the pack function and p*** the results to the updater?
<6> void f(int (MyCl***::*x)(float));
<7> rdragon: it's not called only once
<8> so?!
<7> and it would complicate the design
<8> shrug
<8> sounds like you've got a system that serializes object to a database, no?
<8> objects
<7> yup
<6> MyCl*** m; f(&MyCl***::bar); // where int MyCl***::bar(float)
<8> so
<8> serialize the object, and p*** the data to the serializer
<7> Run: I have more cl***es
<8> maybe you serialize it as some xml structure, maybe just p*** a string, whatever
<6> Then inside f you need a pointer of type MyCl**** ptr, and call ptr->*x(3.3)
<8> no reason to p*** a member function back to yourself that just gets called to do the serializing internally
<6> sk8ing: then use templates.
<8> or, you can use boost::bind to p*** the functor
<8> *shrug*
<5> you could have a function pointer as a member variable that points to the function you want to do the packing for that object
<8> the function is a member function, cn28h
<8> really, the serialize function can just be operator<<
<5> well in that scenario it wouldbe moved out of the cl*** and pointed to
<5> or made static
<8> trying to bandaide and muck with everything else to fit through his odd interface
<7> it's not odd
<6> This is a member function of a cl*** that I'm using somewhere:
<6> template<cl*** EVENTCLIENT>
<6> void operator()(EVENTCLIENT& ec, void (EVENTCLIENT::*em)(event_type_ct const&))



<7> it's pretty well structured
<5> p***inf function pointers for that really isn 't strange
<6> You can use any type EVENTCLIENT there
<9> well if it isn't run himself.
<8> anyway, off to work
<9> thanks for the ircu.
<6> thanks
<7> Run: I think I'll just make it static :)
<7> thanks
<9> your name doesn't sound dutch..
<6> If it can be static... That's quite a difference.
<9> or maybe i just don't know what dutch names sound like..
<7> it can, I was just asking
<6> I made up my own name.
<9> carlo wood? :P
<6> I thought that was more reasonable then having your parents decide it :p
<6> Oh, the 'Wood' thing you mean.
<6> I married Elijah Wood, we took his last name.
<9> that'd rock.
<6> I got to run now though.. got an appointment with the hairdresser (very necessary after six months)
<9> heh
<9> have fun
<3> I tryed to create FileMap. To communticate with mirc. But mirc only receives the first char.
<9> i tried messing with that, it ****s.
<3> I think CopyMemory((PVOID)pBuf, szMsg, 14); has an unicorn / ascii isue
<10> a UNICORN issue?
<3> unicode
<3> nm
<9> haha :P
<5> nice haha
<3> over on freenode they claim filemapping isnt c++
<5> it's not C++ here either
<3> lol
<3> good to know
<5> I wold try to offer some help, but I have only done this on unix ssytems
<3> Well thanks anyway
<11> <sigh> it appears that the new version control in VSTS does NOT support "keyword expansion"
<12> Its funny... if Zarqawi was killed by half a ton of tnt, how come his body remained intact?
<13> nobody ever said you need the whole body intact to get a fingerprint.
<13> all you have to do is find a finger somewhere.
<0> they have photos of his corpse
<12> His face is intact. Not sure about the whole body.
<12> Well its statistically possible.
<12> He might have been underground and died of suffocation. Or something else.
<14> if i iterate a map in a for loop, and then do a map::erase with the current iterator, is that going to blow up?
<15> map::erase returns the first iterator beyond any elements removed, or end if it has reached the end
<11> earthworm why are you wrting y our own for loop?
<15> you could use that, but keep in mind it already points to where you'd normally increment to
<11> you call erase(iterator++)
<14> ah ha
<11> so you take the iterator++ out of the for loop
<14> sorted
<11> earthworm a map IS sorted
<14> oh, wait
<14> i need to delete something from the map, but i only know pair::second
<11> is there only one? (btw, I think Meyers covers all this in Effective STL and Josuttis also)
<14> there should be only one
<14> i could use a while loop i suppose
<11> you can use a for loop, just don't (;;++iterator)
<14> got you
<15> brb meeting
<16> word up homeboy in the house
<1> IRR: Sure, and 9/11 attacks were also NOT orchestrated by muslim terrorists.
<17> if europe sunk more $$$ into the crusades this wouldn't have been a problem :D
<18> uh uh
<19> Hi, I'm a newbie having a problem with cl***es.. it seems simple, no idea why it's not working: http://noidea128.org/sourcefiles/16330.html
<19> the error messages are refering to lines 59 and 64 in the paste, the return statements
<17> int* is the return type...
<17> int Prob1Random::*getFreq() is garbage
<19> I'm new to pointers.. should it be int* Prob1Random::getFreq() ?
<17> yes


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #c++
or
Go to some related logs:

#chatzone
marcos pagdadis
#london
kif taqbad ma tfajla
#slice
#linux
undernet skype key
#AllNiteCafe
#linux
mk_video



Home  |  disclaimer  |  contact  |  submit quotes