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



Comments:

<0> transform has both forms
<1> fuc i think ive lost it
<2> cowmoo is right again
<0> cluelessi: lol?
<2> for_each(v.begin(), v.end(), functor());
<2> transform(v.begin(), v.end(), output.begin(), functor());
<2> transform(v1.begin(), v1.end(), v2.begin(), v2.end(), output.begin(), functor());
<2> choose your flavor
<2> can i plug a function pointer into the functor slot?
<2> vc6 gets diaharea when i do the struct rebind thing.. lol it works tho, with some warnings
<0> WTF
<0> you're using VC6??
<0> STOP right NOW and go download VS2005 Express ,it's free, and it actually compiles C++, unlike VC6
<2> lol
<2> i'm famous here. every1 knows
<1> cowmoo whats a good book for stl newbies... i fear jumping on web sites might confuse things more



<0> first of all I suggest you learn C++ the proper way
<0> get Accelerated C++
<0> http://rudbek.com/books.html
<0> see the first two books there
<3> Java then C++, ***ured your life would be easy
<3> anyone here knws how to use wxWindows?
<2> i have a cl*** that inherits from std::pair
<3> dextre: good on you
<2> how do i use "using" to tell the compiler i want the inherited cl*** to use std::pair's constructor?
<2> it's looking nasty
<2> using std::pair<T1, T2>::std::pair(T1 first, T2 second);
<3> using pair;
<2> using std::pair<T1, T2>::pair(const T1 &key, const T2 &data);
<2> using std::pair<T1, T2>::pair(const T1 &key, const T2 &data) const; // ?
<2> how do i inherit the std::pair constructor?
<3> myPair : public pair
<3> right?
<3> then
<2> myPubicHair : pubic hair;
<2> sorry. couldn't resist
<3> lol
<2> cl*** ISortable : public std::pair<T1, T2>, public Cl***B, public Cl***C
<2> that's what it looks like
<2> from a java perspective, this must look nasty!
<2> error C2602: 'std::pair<_T1,_T2>::pair<_T1,_T2>::pair<_T1,_T2>' is not a member of a base cl*** of 'ISortable<T1,T2,T3>'
<2> bull****
<2> http://www.sgi.com/tech/stl/pair.html
<2> says the constructor syntax is: pair(const first_type&, const second_type&)
<2> some1 pliz help
<2> Cowmoo: forgive me for asking here, it's been a long time since i asked..
<2> there
<2> i meant
<0> dude
<0> do what you want, I don't care :)
<2> ;)
<0> it's a free country innit
<2> i got kick banned for like a week for doing this
<2> JBliz i think, but it's been over 15 minutes
<0> lol
<0> for crossposting or what
<2> for asking questions on 2 servers simultaneously
<0> wtf
<0> JBlitzen doesn't venture off this server, so it couldn't have been him
<2> rdragon told on me
<4> hm a pair::pair::pair
<4> interesting to say the least
<0> rdragon doesn't venture off this server either I think
<0> personally I see nothign wrong with corssposting if used proerply
<0> e.g. you try one place, no one answers, ok go to another server
<0> I do it :)
<0> but blindly posting in every single C++ channel simutaneously can be annoying I suppose
<2> 'std::pair<_T1,_T2>::pair<_T1,_T2>::pair<_T1,_T2>' is interesting indeed
<2> i wonder how it came about
<3> dextre: you know how to use wxWindows?
<0> javaq_: go on #wxwidgets on Freenode
<2> bealtine: alright. after i get thru this project.. i'll update
<2> summer
<2> if u see me using VC6 after summer, i'll buy u a beer
<0> dextre: no, NOW
<5> i agree with Cowmoo
<5> dont wait..just do it



<5> you'll find your use of the STL much easier etc
<2> the only real nuisance i've encountered is the inability to add extra template args to methods
<2> other than that, i get fewer warnings for forgetting to typecase stuff like fabs and pow, but that's it
<3> what other popular irc client?
<2> perch
<3> Pirch
<3> thanks
<5> obviously you know best...and are ignoring what we tell you
<5> so dont whine about being ignored
<2> i'm not ignoring u
<2> it's good advice, i'm upgrading
<2> not now though.
<2> damn. this is annoying. i wish some1 could just tell me "using" doesn't work on coercing inheritance for constructors
<3> there's no freenode irc network
<0> javaq_: irc.freenode.net
<2> i can't google the keyword "using", too common
<0> dextre: I still don't know what it is you're trying to do, but whatever it is, it's wrong
<2> lol
<0> I mean, the way you're doing it is wrong
<5> indeed
<0> as bealtine said, you're really better served by getting some sort of book and learning C++
<0> if that's what you want to do
<0> C++ is not learned by googling
<2> Cowmoo: i'm using river's suggestion now.. i'm just curious what "using" means
<0> it's used to open up a namespace
<2> yeah, but that's one of the uses
<2> there's 2
<0> well, unless you mean the other use in inheritance
<2> i'm concerned about why it doesn't work for coercing inheritance on base cl*** constructors
<0> to un-hide base cl*** functions
<2> yeah
<0> that's not where you use it
<0> when you inherit from a cl***, e.g. B inherits from A
<2> un-hide, i was reading the C++ faq that u gave me..
<0> A's constructor does NOT replace B's
<0> they both still have seperate constructros
<5> theres no magic java stuff in c++
<2> ah
<2> lol
<0> so A() is called and so is B(), and if A's is a non-default constructor, you have to make it call B()
<0> oh F
<0> I switched the letters, but you know what i mean
<0> I hoep
<2> i got it, so with constructors, there's no shortcut
<5> sometimes I just typedef the template as something like Base
<2> thanks
<0> and what you're tyring to do, what?
<0> inherit 4 std::pairs?
<2> lol
<2> it sure looks like that!
<0> doesn't it
<0> when is this thing due
<2> asap
<0> lol?
<0> why are you even doing it in C++
<2> it's alright, i fixed it using river's suggestion
<0> if you don't know C++ well
<0> if you were going to pick up the language as you went anyway, might as well have used something else
<2> i resent that. not that incompetent
<0> ok fine, perhpas I'm wrong
<0> apologies
<2> a lil unclear on concept, that's all ;)
<0> maybe
<2> "using" is more of a c# thing to me..
<0> hello ***
<0> err
<0> Asriel:
<0> lol
<6> :P
<6> morning
<0> sigh, one thing I wish they had in the states (in addition to Walkers) is Cocoa Pops
<6> they don't have coco pops?
<0> oh
<0> Coco


Name:

Comments:

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






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

#squid
jixroba
stop opendchub running
#MissKitten
how many heads did the hydra have
#linux
What country was talent spotting Hughie Green raised in
#windows
#linuxhelp
kaspyhack



Home  |  disclaimer  |  contact  |  submit quotes