| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Comments:
<0> virtual static as in can be used with polymorphism, but can be accessed without a created cl*** <0> desc get's integrated within the cl***. <1> that STILL doesn't doy ou any good <2> virtual static doesn't exist <0> yes, i know. i said a "perfect world" <1> I'm trying to show him that if it did, it wouldn't do him any good <0> why? <2> because you would still need to know the actual type <1> so how do you now use it.... you load a DLL and what? <3> if you have the describeyourself function (probably should be a virtual function) then why do you need this "virtual static" member? <4> Static == doesn't require instantiation to be called <0> and call a DLL function named describeyourself(astruct) <4> And virtual can't be called <1> IRR of course it can <2> MrMuscolo why can't you just load the plugin DLL? the plugin DLL should be required to export a few functions that identify the plugin and allow you to get whatever information you want about that plugin. the plugin DLL also exposes a 'make' function that instanciates the cl*** that is the actual plugin <1> MrMuscolo ok, so far.... I don't see a need for a virtual static
<1> rdragon that's what I've been wondering <0> a virtual function mycl***::getdesc(astruct out).... <0> hmm <0> i think that would work <1> HOW????? <0> well didn't you just SUGGEST it, vawjrwrk?? <4> vawjrwrk really? <1> IRR if you coulnd't call them, they'd be kinda worhtless <2> MrMuscolo you look like you're too tied up stuck on trying to get your own idea to work, that you're not listening <1> MrMuscolo ah, I thought you were still wanting it static <1> because you didn't have an object laying around <0> oh yeah. **** <2> but yes, that virtual function is fine. just have your dll expose a function that instanciates the object, then you can call your virtual 'getdesc' function that's declared in the base cl*** for all plugins <4> <<In C++, if you call a virtual function from a constructor or destructor, the compiler calls the instance of the virtual function defined for the cl*** being constructed (for example, Base::SomeVirtFn if called from Base::Base), not the most derived instance.>> <1> IRR of course <1> what's your point? <4> vawjrwrk so its not the virtual function itself. <4> Its its implementation <1> oh allah, give me a break <0> but isn't constructing / destructing an object, just to get some data on from it a little worthless? <1> MrMuscolo so DON'T <1> call some fixed function in the ****ing DLL <2> then go with my previous suggestion <2> yeah <0> i don't understand how you want to do it, vawAFKhome <0> vawjrwrk <2> MrMuscolo.... <0> ok. i'm listening <1> MrMuscolo just export a function <2> void GetDescription( DescriptionStructure& desc ); <2> that's not a member function <2> export that function <0> yes <2> and voila, you're done <2> aside from writing it <1> and yes, you NEED to write it for each DLL <0> and GetDescription(...) { desc.firstmember = 1; desc.secondmember = 2; ...}? <2> sure <1> we ahve NO idea what you want for your dewcription <1> or description <0> and what if someone writes a module, and then fills the description with false data, to fool my app? <1> and we don't care <2> MrMuscolo - then consider yourself fooled <0> see.... i don't like being fooled... <2> then detect 'false' data <1> how you going to stop them from fooling you if they write their own derived cl*** <1> ??? <1> and lie to you about what it does <0> hmm... <2> does it really matter? unless they're able to distribute the plugin to your clients <0> ok... stupid idea. <5> english or frensh ? <2> english <0> well they might. because i want to make a place on my web page for client-supplied modules / plugins <0> ehh whatever <5> rdragon oki <0> thanks <2> MrMuscolo then put up a message saying 'these plugins may destroy your computer when used' <5> rdragon the chanel of frensh where i find it pls ? <2> Hfid_Med35 I don't know <4> Its french dude, not frensh
<4> Franaise <2> frensh toast <4> french fries <1> french bread <5> IRR yess i want to know programin in c++ in frensh pls ? <1> good luck <4> Hfid_Med35 coute donc <2> heh <5> IRR yep <4> En Franaise a n'xiste pas <5> why not <1> if you're seriiously going to get into computers, you'll likely need English (a very lot of the texts are written in it) <4> On utilise Prolog <2> a very lot ;) <6> that's goooood engrish <4> public rien je_suis_fatigu; <5> IRR not programming in frensh but lering <5> IRR you speak frensh ? <4> Hfid_Med35 go to your nearest library. They are full of painful translations of all the American texts on programming. <4> Hfid_Med35 I live in FR <5> i tike your private pls ? <4> No you can't tike in private. <5> can you tel me in private pls IRR? <4> Hfid_Med35 I don't share any secrets with you <5> or i speak here frensh ? <4> Go ahead <6> jill|PEWFgon: wake up <6> ober says that korean animation i pasted earlier is an acurate portayal as life as a korean <4> Ok fine vawjrwrk you shouldn't be so condescendant with me <6> vic: http://www.microsoft.com/korea/events/ready2005/vs_song.asp <6> bunch of microsofties in korea having some fun <4> gaah I can't look anymore!!! <2> microsoft made this? heh <1> well, that sure makes me want to go out and buy it <6> heh <7> Hey vawjr <7> Someday when you get a chance <7> Do me a favor and check out the table of contents and sample chapter or two from http://www.deitel.com/books/cpphtp5/ <7> They're like three versions later than the one that everybody hated for being out of date <6> JBlitzen: when did your gaey *** get here <7> Quiet, you walking impurity <1> thats one version later than the one I own <7> Ah, vic <7> How's the one you have? <8> I have a program in c that works fine as one large file. When I split it up into a few logical modules, all of a sudden I get random unexplained problems, like sqrt(normal positive numbers) returning NaN. anyone have a clue what in the hell is wrong with C? <1> I didn't care for it, I thought they got into all tha C oriented memory allocation crap waaaay to early <7> Ah <1> abc987123 this is a C++ channel....... /join #c main <1> I quit reading it after maybe 5 or 6 chapters, JBlitzen <7> nod <8> thanks vawjrwrk <1> it's still on my bookshelf incase someone whants to refer to a specific chapter, etc <1> JBlitzen I wasn't evaluating it (when I was reading it) as a book for someone who had lots of programming experience (and several languges already learned), I was looking for books for newbies... perhaps I should read it again and see if it belongs lower on my list <7> I was thinking of for newbies myself <7> I still haven't actually looked through accelerated C++ <7> Were I slightly more civically minded, I'd drive down to these student "protests" and walk around with a picket sign saying "STFU AND GET BACK TO CL***, SLACKERS". <7> But I'm not sure what the mexican translation of that is. <6> MACH SNEL BITCHES <6> SNELL <7> I don't know what that means, but you're gay <6> schnell too <6> which is why i don't speak german <6> make haste, move fast <6> yeah, those protestors make me sick <9> what are they protesting for? <7> Because it beats sitting in cl*** like the non-slackers. <7> And because society doesn't shame them back under their bed. <6> new legislation making it a felony to be in the states illegally, amoung other things (like tougher employer checks, etc) <9> french students are protesting too atm <6> poor little people that have entered the country illegally <7> Rush quoted somebody who wrote that the actual protests were like thieves protesting for fewer police on the streets. <6> heh <7> But as stupid as that is, at least those are adults.
Return to
#c++ or Go to some related
logs:
thobbu
#AllNiteCafe 420chan mirc?
cardshare nsupdate joker.com PROBLEMS WITH NEWSDEAMON
dht dd-wrt klmmmml #php WORKATHOMEAGENT BOT
|
|