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



Comments:

<0> :)
<0> In case you're not in the US, it's a collection of photographs taken of radical leftists mainly in San Francisco.
<0> That city's a hotbed of liberalism, this is sort of like the pick of the litter
<1> i c
<0> http://www.amazon.com/exec/obidos/clipserve/B000BI0WOA001021/0/ref=mu_sam_wma_001_021/102-2241841-5552133
<2> Hail to the king baby
<3> morning Ashe` :)
<2> 'lo
<4> Ashe` is everywhere o_O
<1> hell0oo
<5> If I have three cl*** (A, B, C) that inherit from a parent cl*** (P), and I have a function that takes an argument of the parent cl*** (P), but I only want to be able to use the two inherited cl***es (A, B).
<5> How do I do that?
<5> I thought there was a way to say P, but only A and B P{A,B} ? or something of that nature
<5> Is there something like that or should I just take P, then test it against object types...
<4> ...
<5> didn't make any sense?



<4> i dont know c++ :P
<5> oh
<4> so P is an abstract cl***?
<4> and this function exists in all three sub-cl***es?
<4> actually... its not making much sense to me T_T
<5> it's not abstract, not sure about abstract cl***es in c++
<5> i'll try to explain it better.
<5> i have TestFunc(Entity _Owner);
<2> cl*** P; cl*** T : public P; cl*** A : public T; cl*** B : public T; cl*** C : public P;
<5> However, I do not want this function to accept any 'Entity' derived cl***, only a select few.
<2> And if you tell me you don't want an intermediate cl***, then you're doing something wrong
<2> Because C _is_ an entity
<5> Ashe`, so i'm gonna need one then?
<2> What does TestFunc do?
<2> And what are the real names of P, A, B, C?
<5> nothing atm
<6> sb_: no way to do it, everything will be inherited by the other cl***es, that's one of the problems with OO
<5> ok
<5> Well, I'll create the extra cl*** then.
<5> Sorry
<6> yeah
<6> that's one choice =)
<2> It's not a problem with OO, it's a problem with his design
<2> TestFunc takes a P
<2> A, B and C are P's
<2> So no reason to take only A and B
<6> you may not want everything of cl*** P
<5> Ashe`, i'm looking at it like this, A is User, B is Group, C is File... so a file cannot be the owner of itself, however they are all entities with the inherent property of having a Name.
<6> and that's not wrong, just look at biology :P
<5> Ashe`, I figured out the Subcl*** to add it under though
<2> A user can be the owner of itself?
<2> A group can be the owner of itself?
<2> That makes no sense
<2> Btw you should p*** a reference or a pointer (<5> i have TestFunc(Entity _Owner);)
<5> Ashe`, File has 'Entity Owner'
<5> Ashe`, so i want users and groups to be able to be owners
<2> Still not making sense
<2> Make a cl*** Owner then
<4> cant you just leave the property "Owner" out of cl*** P, but have it in cl*** A and B... or make a cl*** that fits between A,B and P, but not between P and C ?
<2> cl*** Entity; // an entity
<2> cl*** Owner : public Entity; // an owner is an entity
<2> cl*** File : public Entity; // a file is an entity
<2> cl*** User : public Owner; // a user is an owner (and so also an entity)
<2> cl*** Group : public Owner; // a group is an owner (and so also an entity)
<2> And File can have a Owner * owner; member or something
<4> T_T
<4> i think i need some food :)
<2> That's what my gf just said
<2> Want something? ;)
<4> question is... a nibble or a byte?
<4> j/k :P
<4> lol
<4> brb
<7> Hey. What is Gline Command ?
<8> Why do you ask about commands in a C++ channel?
<7> I Don't Know :)
<7> I Ask This Question Other Channel's. They Said /part pls..
<7> Which Channel Can Answer Me ?
<8> I don't even know what you're talking about.



<8> Apprently, it's not C++.
<7> k.
<7> Now Part Time :)
<7> Have a Nice Day.
<8> Are you talking about IRC? Or some graphics library?
<9> hehe
<8> In either case RTFMing would have helped :/
<9> maybe
<10> can u run the turbo c++ in winxp?
<2> Why would you
<11> There are much better C++ compilers available for free.
<11> So, there's no reason to bother with Turbo C++.
<11> Turbo C++ is very old and non-standard. If you learn with it, you're not learning C++ but a sad imitation.
<2> And it's not that fast anyway
<10> Solamente, thnx il try to find another compiler of c++
<11> I can suggest a couple.
<11> Visual C++ 2005 Express
<11> Dang it, where's that link..
<10> Solamente, our school is using the dos mode c++
<11> MinGW www.mingw.org
<11> Typical of schools. I don't know why they screw up like that.
<10> thats why i want to use turbo c++
<8> calc vc2005e
<12> vc2005e = Visual C++ 2005 Express (aka VC++ 8). Available for download at - http://lab.msdn.microsoft.com/express/visualc/default.aspx . Get the Tools Refresh at http://www.microsoft.com/downloads/details.aspx?FamilyID=afd04ff1-9d16-439a-9a5e-e13eb0341923&displaylang=en
<11> If by "DOS mode" you actually mean "command line," that in itself is not bad.
<11> All compilers are command-line compilers at heart.
<8> dopestar: your school ****s.
<8> Get your money back.
<11> But if you mean it's actually a DOS compiler (like Turbo), then you have a problem.
<13> hi guys, how can I change the font of a text control?
<10> _m_, lol
<2> sk8ing: OS/API?
<13> win32
<2> WM_SETFONT
<13> thank you
<11> dopestar: You'd be amazed how many times a day we have to say that.
<11> The state of C++ instruction in academia is woeful.
<2> Just like everything in academia
<10> Solamente, well yah i know that.. thats why i want to self study
<11> dopestar: What's the name of the compiler at school?
<10> Solamente, i forgot sorry
<11> If it's GCC, then it's actually pretty good.
<11> What OS is used?
<10> can i comeback here often?
<11> Of course. We're always open.
<10> Solamente, its already dos mode
<10> and we just type tcpp
<11> Okay, terminology time.
<11> "DOS" is dead, and is almost never used, so it's very likely not a "DOS mode"
<11> More likely it's a console window.
<10> uhmm yeah :)
<11> But, tcpp is old.
<2> Always open, but the third time there's a small fee of $5/month
<10> Ashe`, lol
<11> If I were teaching a cl***, I'd very likely use GCC because it's available on almost any platform imagineable.
<4> lol
<2> If you were teaching a cl***, they'd all fail
<11> s/imagineable/imaginable
<11> Ashe`: Nah, not if they knew how to get "special tutoring"
<2> Don't you need a mini skirt to get that?
<11> It helps
<4> lol
<10> Digital Mars C/C++ Compiler Version 8.46 (2919000 bytes) (NEW!)
<10> is this good?
<3> hey _m_ : time to upgrade the VC calc to : http://msdn.microsoft.com/vstudio/express/visualc/
<14> http://www.jpost.com/servlet/Satellite?cid=1136361083662&pagename=JPost%2FJPArticle%2FShowFull
<8> calc vc2005e
<12> vc2005e = Visual C++ 2005 Express (aka VC++ 8). Available for download at - http://msdn.microsoft.com/vstudio/express/visualc/ . Get the Tools Refresh at http://www.microsoft.com/downloads/details.aspx?FamilyID=afd04ff1-9d16-439a-9a5e-e13eb0341923&displaylang=en
<15> that calc needs a update, I think. Not sure the tools refresh is strictly needed
<8> uhm, that calc *is* the update.
<3> whats the tools update thingy?
<3> dont think thats needed anymore I vaguely remember that as something you needed from one ctp to the next


Name:

Comments:

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






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

subinkrapsciai
#AllNiteCafe
#java
#mirc
#linuxhelp
NoClassDefFoundError: Files QTJava
PXE server hacked
#linuxhelp
#php
#linux



Home  |  disclaimer  |  contact  |  submit quotes