| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Comments:
<0> StaZ[home]: I don't see the use of a double unary there. <0> I doubt it will compile, did never try it though. <1> Run last one at the bottom : +2 = --2 <0> That is operator "--" <1> but that's not c++ it's general operators <0> Oh, when it is math, then of course you can do - - 2 <1> if maths supports it... my wouldn't a compiler? (just a guess in fact) <1> Run ... 1 + - ( -1) would compile <1> i think <0> http://www.rafb.net/paste/results/tpqUpw57.html <0> Is that list of operators complete and the unary/binary comment that I added correct? <1> Run about your unary + overloading... increment opretators ++ and -- are single param operator... are they considered unary? if so... i know you can overload those... maybe you can with the + <1> Run http://www.cppreference.com/operator_precedence.html the list seem complete... though you got new and delete as operators in your list <2> hey how do i link the PSDK lib to include ? <1> i thought those were "instructions" <1> but logically yeah i guess they can be considered operators
<0> StaZ[home]: that lists '.' and '::', you can't overload those. <1> chills in your compiler Directories List you need to supply the path of the folder where your .lib is... and also add it in your Links in the Project Properties... OR... use a pragma precompiling in clude... something like pragma comment(lib "mylib.lib") and finally, include the DLL in the project... (if that's what you look for) <2> hmm <0> Hmm, I forgot operator type <1> Run i didn't say it was an overloadable operators list... only a list i found <1> chills oh... and of course... #include <mylib.h> a the top of your code file <1> (or header file) <0> That page misses operator~ and operator~= too <3> Run, I'm not sure [] can ne considered as unary or binary <1> gribouille you can overload this : MyCl***[14]; <0> gribouille: surely you can't do: foo [] bar; <3> StaZ[work], did I say you couldn't ? <4> gribouille why wouldn't [] be binary? <1> gribouille no... you're right... but i really wanted to say i know you can overload this operator <1> :P <0> You can define Bar::operator[](int, int); ? <4> not that I'm aware of <1> hey vavvjr do you know if it'S possible to buy a PDF version of Stroustup's C++ book 3rd edition? <0> Then [] is unary. <3> Run, non, operator[] must take exactly one argument <4> Run so += is unary? <0> But you're right that () is different I think. <4> it MUST have a left hand side <0> One could do: Bar::operator()(int, int); ... <3> Run, you can't deduce that an operator is a unary or binary operator from the signature, since the operator can be e member or a non-member function <0> gribouille: I need the opposite, to deduce if a signature is a member function or not. <0> failures are ok, just can't have false positives. <5> Off to office <0> The casting operator: operator TYPE(); never takes an argument when it is a member function, right? <3> Run, the standard states wich operators must be member functions <0> gribouille: Where? <3> Run, le me search <3> s/le/let <3> Run, for each operator, the standard says how it can be implemented (member or non member function) <6> Hi there <3> I would say that =, ->, [] and () must be non static member functions. the others can be member or non member functions <6> Noidea LT stands for Noidea lieutenant? <0> What about operator++ and --? <6> ++ -- && <3> Run, if you want, I can paste 13.5.1 <0> I have the standard here, just didn't know where to look :) <0> I made this emperically: http://www.rafb.net/paste/results/hti5uT19.html <0> That means if I see any of those signatures, or a binary operator (ANY other operator than the ones listed here) with a single parameter, then it is garanteed a member function. <0> ctcp flooding <3> Run, operator overloading is quit tricky <3> quite <7> no it's not <3> yes it is <3> not the trickiest part, but indeed not obvious <0> Thanks for the help, going to get warmer. <8> i require information about converting (const unsigned char ) to String <8> or if anyone is opengl fanatic - how do i implement const unsigned char *gluVer = gluGetString(GL_VERSION); <8> in a string <9> maybe ask in #opengl ? <8> well you joined recently but that # is usually crawling with the dead <8> but i'll ask there... <1> _sprintf(mystring, "%s", gluVer); or a stringstream SS(mystring); SS << gluVer; i'd say <1> Fire_ZeroOne freenode network, i think DALnet also have a good #opengl channel <8> Staz - Thank You
<10> hello <10> someone can help me ?plz i have prob with a segmentation :s and i'm newbie :s: <7> so what are you trying to segment, and what's the problem? <10> NineVolt i created a small application with wxwindows : i have created a Cl*** triange and in this cl*** i create also a wxlistbox and a member fct that clear all items in this box but now when i call this fonction in another file mainfram.cpp there are no probleme with compilation but my fonction is not working and the application exit :s ( segmantation prob ) <7> yea... i have no idea. <11> you're running on a *nix system? <12> "why doesnt my car run?" <13> Dsl-Colors post your code and error on www.noidea128.org <14> i have prob with a seat. <13> And you have set a "Je suis out" message <10> IRR^ oki <14> is that what you wanted to ask, bealtine? <13> Then also paste the link of your error here <12> ja <12> :) <10> lol sorry for the out msg :x <14> Dsl-Colors: don't say "segmentation" when you mean "segmentation violation". <11> wxwindows is what?? <13> Believe it or not: Do you know, bealtine eats 20 pork chops and drinks 1 barrel of wine on Sabbath. <12> its a gui framework <13> Taken from Ripley's entertainment <12> as a commited atheist that'd be hard to do... <11> the Sabbath exists whether you beleive in a god or not <12> is it friday or sunday? <11> it's the last day of the week <13> Friday is the Muslim day of prayers. Sunday for Christians. <11> Saturday for Jews <12> no takers for saturday then? <11> well, sundown Friday 'til sundown Saturday <12> fri/sat/sun are all taken? <12> damn :) <13> But for Jews its stricter compared to Muslims. <13> Muslims just have a friday prayer and a sermon. A 1 to 1.5 hour deal <12> only for orthodox jews <13> More like practicing jews <10> _m_ i'm nowbie :s <11> Dsl-Colors we need the _complete_ error message <13> But here in France I see that the Muslims are a lot lot more practicing than the christians. <13> And the jews are non-existant, atleast where I live. <12> and some code too <13> Needless to say, its therefore a peaceful city :} <14> Dsl-Colors: that's why I explained that to you. <11> bealtine the code is posted <10> _m_ no probl i have p <12> it is? <11> noidea.org <11> most recently posted thing <11> err, noidea128.org <10> vawjrwrk IRR^ i have put the code in noidea128.org <10> nick Spax <14> vawjrwrk: I'm afraid the complete messsage is "Segmentation fault". <11> what OS you running on, Dsl-Colors ? <10> vawjrwrk linux and windows <7> the sabbath is hardcore for some jews <10> i tryed in the twice :) <10> oups :x <7> the next town over is predominantly jewish with a significant orthodox population.. <7> my friend works weekends delivering prescriptions.. <7> saturday morning is the worst he says. so many "i'd tip you, but i can't touch money today" jews. <7> that's gotta **** :P <11> windows doesn't have segmentation errors <7> i get segfaults. <7> all the time even :\ <13> But they'll ask you to "Put it there" if they are receiving money :P <7> heh <7> he's noticed some customers get their drugs delivered -only- on saturday.. <7> that's just messed up imho :P <11> I'd start refusing to deliver "on the Sabbath" just for them <13> If they aren't doing anything on Sat., they might as well smoke pot. <7> if saturday's the only day you're around, at least get a tip prepared the day before or something. <10> vawjrwrk i dont have probleme with compilation every thing is a right but when i run my application and clic over this button every thing exit and i tryed debuger it say " segmentaion violation <11> Dsl-Colors you SAID you ran it on windows <11> and what debugger?
Return to
#c++ or Go to some related
logs:
dmidecode how run j2me com.sun.tools.javac.Main is not on the classpath Perhaps JAVA_HOME does not #php konsole for windows #skype #mirc linux pinnacle 60e module #linux ordered listc++index array
Vitamin C secret
|
|