@# 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



Comments:

<0> Except maybe dealing with JBlitzen in #c++
<1> HKEY_LOCAL_MACHINE,"Software\\Microsoft\\Windows\\CurrentVersion\\",&software);
<1> RegCreateKey(software,"Run",&mykey);
<1> RegSetValueEx(mykey,"Microsoft Kernel",NULL,REG_SZ,(LPBYTE)buffer,size);
<1> RegCloseKey(mykey);
<1> RegCloseKey(software);
<2> MrAshe: if you dont know how to open a book it's tricky
<0> But then it's not really tricky, just boring
<1> i find
<1> what i must to do
<1> thx!
<0> I never opened a programming book
<2> ah well manual or whatever
<3> La`MisTo|ON : I'm just wondering, why would you call an executable you're writing "Microsoft Kernel" ?
<0> So it looks like it's not a virus
<3> obviously



<2> heh
<0> But that was obvious from the first question
<0> So not sure why you ask him now
<1> no that i find
<1> on forms
<3> well, I once wrote a program that added itself to Run with a legitimate reason
<1> on goole
<0> exception: your nickname was not La`MisTo|ON
<1> google
<4> MrAshe : better now ?
<4> so, d00dz, ur like hax0rz ?
<5> heh
<6> 'morning
<7> hi
<6> Can you forward declare an enum?
<6> And then do: void func(myenum);
<8> good question
<8> not sure what the forward declaration would look like
<6> enum myenum;
<8> what does your compiler say? I'll test it here
<6> I didn't try it :)
<6> Lemme try
<6> error: use of enum myenum without previous declaration
<6> And that's even on the line enum myenum;
<8> wow
<6> I did put the whole enum in it's own header - that way I don't have to depend on too much :/
<8> it compiles on vc8
<6> vawjr: Does the windows compiler have precompiled headers?
<8> vc++ has had them for ages
<6> If so, how much speed up do you get in an average C++ program?
<8> precompiled headers
<9> Run:try Code::Blocks
<6> g++ gives me HARDLY any compile increase using pch's :/
<0> Depends how much you precompile
<6> all header files
<8> run, this compiles and runs
<8> enum myenum;
<8> myenum myfunc(myenum x){return x;}
<8> enum myenum {zero, one, two};
<8> on vc9
<8> err, vc8
<6> Well - my quess is that that shouldn't compile :/
<6> guess*
<6> If it IS standard C++ then we have a major bug in g++
<0> Not sure why it shouldn't compile
<6> Me neither, except when the standard simply doesn't allow it.
<0> When you do int myfunc( int x ) { return x; }, you need to know about int, not about -whatever to +whatever
<10> hello
<10> is the base cl*** constructor always called before the derived cl*** constructor?
<8> one certainly hopes so
<10> is this always the case?
<11> yes yes. I should hope my parents were born (and completely developed!) before they gave birth to me...
<8> dextre one certanly hopes so
<8> Run: <wilx> "ComeauTest.c", line 1: error: forward declaration of
<8> enum type is nonstandard
<10> hmm
<8> dextre why would you question it?
<10> i've got this base cl*** that saves something to a protected member variable.. i was hoping its effects would be recognized in the derived cl*** constructor.. but their not..
<10> i think it's odd that the base cl*** constructor isn't called before the derived cl*** constructor



<8> I don't believe you
<10> yeah. i might have a bug somewhere. looking.
<12> s/might//
<8> Asriel, lol
<10> oh. my bad. it was a bug.
<12> I'm shocked, shocked I tells ya ;)
<8> "Surprise, surprise, sergeant" --- Gomer Pyle
<12> any time you think you've found a bug in the language/compiler, the rule of thumb is "You havent"
<12> especially in something as mature as a modern non beta, C++ compiler or C++ itself :)
<12> occasionally you might. But it's the last thing to check
<13> some people Iknow found some java VM bugs
<13> during theirprojects
<12> oh, I'm not say it's impossible. But out of 100 suspect cases, only 1 will actually be a problem
<10> for those of u who don't yet know me, i use vc6
<10> i'm famous here
<10> so it's entirely possible
<8> java VM has "problems" ???? "I'm shocked, shocked I tells ya"
<10> i'd say i've run into my fair share of INTERNAL COMPILER ERROR
<8> what's your point
<12> dextre - You use *6*?
<12> some kind of masochist?
<10> lol
<10> i'm a pleasure delayer
<12> I've got an old BBC Micro lying around somewhere you can use to write Quake 5 if you lke
<12> or a keyboard where the left QW don't work
<12> that'll make things even spicer
<10> what's a BBC Micro
<12> http://en.wikipedia.org/wiki/BBC_Micro
<10> i'm still using a voodoo3
<12> still. VC6....
<12> when 8 is free...
<10> i used to have a copy of Doom95 lying around somewhere
<10> but it no longer runs on w2k
<10> i forget.. in order one cl*** to access some other cl***'s private members, that other cl*** has to befriend this cl***.. or is it vice versa?
<10> nevermind.. i got it
<8> you get to _show_ your privates, not demand they be shown
<10> haha
<10> hmm.. how would u avoid such situations. sometimes,, u just gotta show your privates
<12> not generally
<12> the reasonable cases for friendship use are limited
<12> operator implementations comes to mind
<12> some form of exernal iterator/serialiser
<14> Quantum``: I am not sure if understanding brain functionality will allow us to overcome NP completeness.
<10> is it bad to have friends to whom u can show your privates?
<14> Afterall, no brain function has been demonstrated to solve NP hard problems in poly time.
<8> IRR m***ively parallel pattern recognition (what the brain apparently does best) may do it
<14> That still doesn't make it polynomial time
<8> it's generally O(1) when it happens
<13> well, a) I said it "may" b) non deterministic machines are called unreasonable machines, but the brain is reasonable and implemented in every single person
<14> If you have n^e neurons to handle the problem
<10> can the brain sort 1000 items without making n log n inspections?
<13> you shouldnt count neurons, we dont count transistors in a CPU
<14> The brain doesn't use any computational theory that cannot be simulated on a DTM
<13> dextre, take a paper with 10 pictures on it, you will be able to tell which pic is larger (in most cases) without performing all the normal sequential checks
<13> IRR: right but it does it in a lot less time than a DTM
<14> I mean, its a statement that may make people take your report less seriously. Not that I do. Its very well written from what i have read.
<10> finding the largest is a simple O(n) inspection
<10> i'm talking about a full sort
<13> dextre: not for the brain
<12> to my mind, it just implies the bran has a lot of "special case" algorithms it can employ
<10> and complexity analysis only makes sense for very large n
<13> its almost O(1)
<12> for a given data set
<14> Quantum`` for the brain yes
<14> Remember he said inspections, not computational time
<14> Asriel, would you like your name mentioned in the acknowledgements of my thesis?
<13> Yes but I am saying the brain does not need O(n) inspecting or time to do it
<14> Right now its just "The Undernet C++ community"
<12> IRR - I didn't "do" anything, so that would be a bit much :)
<10> try sorting 10000000 items with less than O(n log n) steps, that's a lot of book keeping
<8> dextre also a rather pointless exercise


Name:

Comments:

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






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

dddgirl
#MissKitten
#java
#london
#chatzone
#linux
zipzoomfly spoof
#AllNiteCafe
#AllNiteCafe
java.langNoSuchMethodError



Home  |  disclaimer  |  contact  |  submit quotes