| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
Comments:
<0> main is not the -ultimate beginning- of your program <1> yes but the object is not global <2> tux1 there is a bunch of stuff that happens before main() is called, and after it's done. <1> let say I have a cl*** object{ static something} <2> why does it have to be 'global' ? <1> that is not a global cl*** isn't? <0> static object::something IS global <2> struct A{ static int x; }; int A::x = 10; // A::x is global <0> it is shared between all instances of 'object'... <2> it's accessible to anything that sees the definition of A <2> in other words, global <0> I wish i could go home already <1> humm I see <2> maybe you just need a book <1> why dont you TAmama? <0> work pays money
<1> I ahve one Im just confused in the concept <2> maybe you need a better book, then <3> tell him about the instanciation order... <4> hi <2> prog - what about it? <1> how it goes <2> it's undefined across translation units <2> order of definition within translation units <2> or order of declaration, one of those <3> it all depends on the compiler/linker <2> off to bed <4> bed :\ <4> overratted <4> Welcome Eden24 <4> I hope you enjoy your stay <5> that worked well. <0> heh <6> I need to cast a CString into an LPARAM (=long), how could I do this? <7> CrazyBandit CrEw OwnEz mE! <8> hello <4> Why is the only place open at this time a monopolising company? <9> what place is that? <4> Mac Monoposiler <4> Mac tastes like **** but is nice since its the only place open :( <4> not even Habbid's Mahumid is open now :( <4> nor Kuntucky ****s Cuzzins :( <4> rar x -r stargate.atlantis.s01e03-crimson.part01.rar <10> so you've figured out how to use rar then? <11> Please refresh the memory of a sorry java-programmer who's stuck with C++ ;) <12> For most that'd be an evolution! Congratulations! <10> MemStick->Refresh(); <11> I have a pure virtual cl*** (aka an interface). I implement the interface in a new cl***. <13> no, NOT aka interface <14> wooooo... im sleepy <10> MemStick->BeatOverHead() <11> I keep a reference to the interface. Eventually I do: "delete interface;" But I find that the destructor of my implemention is not callde. <11> How come? <15> There has to be a virtual destructor in the base. <10> does the ab Cl*** have a virtual destructor? <11> Now I tried adding a pure virtual destructor to the interface, and marking the destuctor of the implementation virtual too. But now my code doesn't compile. <13> one hopes your "new cl***" inherits from your "interface" <11> Solamente, virtual or pure virtual? <13> Zta Solamente spoke exactly <15> virtual <11> vawjr, it does; it "implements" it. <13> perhaps you should learn what "pure" means <11> Ok, I made it pure virtual. Perhaps that's why. <11> pure means no implementation? <13> perhaps you should learn what "pure" means <11> virtual pureMethod() = 0; ? <10> virtual ~NameCl***() {} <11> I'll try: virtual ~Interface() {}; <11> exactly. <13> doesn't matter if it's pure or not <13> and you don't do delete on references last time I checked <15> "Doesn't compile" isn't very helpful to us, either. <13> I've never tried it though <13> one usually uses delete on pointers <10> show some sample code <10> is this about refrences?
<13> who knows? <11> Sorry, I used the word "reference" incorrectly. <10> are you deriving from this ABC ? <11> Interface* i = new Implementation(); delete i; // This is what I ment. <15> What compiler errors do you get? <10> ummm thats not what I think you want to do <15> bealtine: Why not? <11> bealtine, it is. <10> myCl*** : public ABCl*** <11> Solamente, Uhm. Give me a moment. I think I've found something =) <13> you ususally want interface* i = new derived; <10> show some code <13> it shouldn't let you do new interface anyhow <10> if its an ABC you should be deriving from it <11> Please give me a moment to debug. I think I've made a mindfart. <10> blazing saddles rules <11> Ah, it's fixed. Sorry to disturb you guys. Thanks for the help =) <11> Adding those virtual dtors helped. <10> vic I see you are on skype...do you actually use it? <13> from time to time <11> Now I get an oldsk00l segfault. Everything is back to normal ;) <10> you are "active" <13> I managed to break my headset the other day though <13> well I'm here <10> thats Vics "Chaos Manor" <13> it was a very cheap headphone/microphone combo <11> vawjr, ah.. drinking tequila head slammers over skype with your friends again? =) <11> Taking IRC to a new level. <13> I think it (headset) got damaged in the move <10> i must invent a psychic microphone...I hate talking into the air <10> 10 - 1 spam bot... <13> well, I used headset when flying a LOT so using it doesn't bother me (different headset, the David Clark's won't work on the computer) <4> bealtine, 10 as in 10 or 2? <10> its a betting term 10 to 1 are the odds <4> Mc Kay p***ed out from manly hunger <11> =) <16> man I hate having morning cl***es I'm so hungry after them and breakfast isn't good at the cafeteria <10> i knew it I win!!! <4> ? <10> i'll accept cyber cookies <4> [playing] Cradle Of Filth - Nymphetamine Overdose [ ]9%, 250 kbps, 44 kHz, pos: 1412/5494 [Stereo] <16> I love it how windows media player always stops 10 seconds after you run it, right when you want to click on something. love it <15> mp3CoolPlayX <15> Get it now. <15> 'Cause you know what it does? <15> It *plays MP3 files* <15> And not much more. <16> does it organize them? <15> You can create playlists. <0> i have a Creative MuVo <0> it also only plays mp3s :) <10> realplayer is an insidious pos <15> But otherwise it depends on you being organized enough to make a sane directory structure. <16> f-that I need it all sorted by albums <15> So do that with Media Player, then play it with mp3CoolPlayX <16> I was going to make a WMP clone win C# one of these days <16> just simple library and playlist setup <15> Look into this app, really. <15> I love it. <13> they only complaint I have about WMP is there doesn't seem to be any to convince it that what I really want it to do is just play random stuff from my "preferred playlist" every time it opens <10> its too busy trying to figure out where your mp3s came from <15> My primary complaint is that it takes up way too much of my CPU time for the one thing I want it to do, which is play MP3s. <15> Never mind memory. <13> they all came from the same place. I ripped them from my CD collection <16> my wmp peaks at 2% and uses like 12 MB of memory... that's not bad <15> bealtine directed me to the player that I use now. <10> turn off all its phone home stuff and it uses much less <10> i like that player <17> Hey guys, see anything wrong here? http://www.noidea128.org/sourcefiles/15868.html the strcpy to p_cOutput doesn't seem to do what I wanted it to <13> this is C++ what are you using strcpy for?
Return to
#c++ or Go to some related
logs:
#MissKitten #php javascript onmouserelease button who calls its parliament 'the knesset'? #c++ #linux fanfru whatsupt what does ja mean?
tamek danimarka
|
|