| |
| |
| |
|
Page: 1 2 3
Comments:
<0> gn8 <1> g'night Def <2> use this lead pipe instead <1> well my preferred implement is a baseball bat (or anything really) wrapped in razorwire.. <2> at least wait for me to put a blood sheild on <2> i dont know where some of these people have been <2> liek scalar.. the slut that he is <4> heh <5> Hola Def. Where have you been recently? <6> ? <5> Uh. The line where he said "James" was highlighted, so I responded to that. Then I carried on reading. Stupid :P <2> you will address him as "Slut", not "Stupid" <5> I was remarking on myself.
<0> The Vulture: Ouch man...why the beating? :( <7> Delayed opinion: I'm not a huge fan of exceptions... I find MDAC throws way too many of them <0> We just had a lengthy discussion and it turns out that expcetion sepcification is really not that usefull <0> I wasn't aware that if your code throws anything it doesn't advertise it will abort() <1> mozai: "gn8" <0> I thought of it more as a form of code self documenting <0> The_Vulture: I am tired man :) <0> Now I understand why MS VC++ implements throw( Exception ) as throw (...). It all makes sens now <7> the Delphi equivalent of atoi() throws an exception if the string is not a valid integer.... but if you generate more than around 500 - 1000 of these per second, the whole app GPF's and dies... well my code to get around that is way more complex than it needs to be if I could only turn off the generation of the exception <7> was easier just to create my own (slower) function <5> Well, actually, that's just termporary. They've had a working implementation of exception specifications for about 3 years, but it generates unacceptably bad code, particularly with the standard library which has a lot of exception specifications. <0> Rethguals: what is just temperary, the MS implementation? <0> I think that exceptions sepcs is uselss if the application aborts on unpulished excption <5> Yes. They will fix it at some point. <0> I hope not :( <5> mozai: I won't argue with that; I'm just stating that MS intend to implement the standard behaviour. <0> I see <0> I will use the throw(...) then <0> and then properly document the method instead <5> That's the default. It's much better to not use exception specifications. <0> Oh <0> so throw(...) doesn't do squat? <0> not even help compiler optimise code? <5> It's there for symmetry :) <0> symmetry meaning code clarity? <1> symmetry with catch blocks <5> No... just so that there's always a throw spec that applies. throw(), throw(...) or throw(Stuff) <1> oh, right <0> I see, but if you don't specify a throw(...) it is there by default <0> right? <5> Yes. It had to be that, for all the existing C++ code from before 1996 (which I think was when they were formalised), and for C functions which propogate exceptions from C++ callbacks, etc. <0> Ok, thanks. What happens if you advertise no expcetion throwing() and you throw one, or the code you use does, does it abort() as well? <5> Yes. It calls unexpected. Since unexpected can't translate the exception to bad_exception in that case, unexpected will call terminate, which will call abort. <0> ouch! double ouch! <0> and i though I was being a good C++ programmer..LOL..I will have to refactor most of my methods <5> Note that VC has a declspec(nothrow), which unlike throw(), can in fact be used to optimise code. In practice though, the improvements aren't worth it (especially if you're working with functions which aren't declspec nothrow). <0> great, thanks Reth for your advice <5> mozai: Herb Sutter recommends replacing "throw(Exception)" with "// throws Exception", which is the proper way to document what can be propagated :) <0> Reth: excellent. Who is Hern Stuuter? :) <5> Author of Exceptional C++ and More Exceptional C++ (which are both worth reading, and both contain items on exception safety as well as other subjects), Exceptional C++ Style and co-author of C++ Coding Standards. He's also convenor of WG21, and does a bunch of other stuff. <5> http://gotw.ca/ <0> thanks a lot. I though that the writer of Exceptional C++ Style is written by the Loki writer? <5> No; Andrei Alexandrescu (who wrote Modern C++ Design) co-authored C++ Coding Standards, which is probably what you're thinking of. <0> exactly. <5> All those books are in Stroustrup's C++ In Depth series. <0> Yes, are they recommended? <0> is mr. Stroustrup like the editor if these, or he just land his name for $$$ <5> I recommend all those mentioned. Stroustrup certainly reviews the books... I would certainly say that the Addison Wesley series is the best 'brand name' for C++ books. <0> great...Thanks for everything Reth. <8> IRS rejected 5k in taxes on my return. I am very upset. <6> ouch <6> howdy Rethguals <5> Hail, scalar. <6> really? how big? golf ball-sized? <4> hoi Reth <5> Hullo, teq. <4> Should have said "Heil", and yelled it, for scalar to comprehend it as a greeting. <6> yes <6> I would have understood that <6> :) <4> "HEIL SCALAR! VENT TO ZE STORE?"
<6> YA! <4> oh, "Ya" can mean Yes in Indonesian... <4> or it can mean No in Indonesian <4> go figure. <6> really? reminds me of the Red vs. Blue episode I just watched again today <6> "Is 'honk honk' your name?" - "Blargh." - "Oh, I think 'blargh' means 'yes'. Does 'blargh' mean 'yes'?" - "Blargh." - "I knew it!" - "You don't know that. It could also mean 'no'. Except if 'honk honk' wasn't his name, then he's been saying 'no' to you." - "Oh, shut up." <9> http://www.newscientist.com/channel/info-tech/mg18925405.700.html <7> thanks, I just burst a few neurons <10> mhm <6> hmm <5> What was dota? <11> You know, WinAPI programming with Python is beautiful and elegant. <4> Rethguals: Warcraft III Custom map. <5> Ah. <5> Zen: it's not WinAPI programming unless it involves casting pointers to longs and reading documentation about how to specify the size of a buffer. <5> Although, to their credit, the cast-to-long stuff is going out of fashion. <6> I just know DOTT <6> Day of the Tentacle\ <6> great game <6> :) <5> Yeah. The old LucasArts graphic adventures were awesome. <10> hehe <10> some time ago i played "beneath a steel sky" in a emulator .. quite fun <10> and now sometimes oolite .. old Elite clone :) <5> Heh :) It's a shame the Elite successors have been so buggy. <10> no <10> they even copied the bugs :) <5> Urgh <10> ok was a joke ... <12> i'm using windows xp sp2, my ram only got 64mb, what can i do to optimise and increase the speed of my com? <10> downgrade to win 3.11 <13> your com? <10> or buy much more memory .. or use linux <11> what the **** are you running on 64mb or ram for? <11> I mean, 512mb sticks are only like $30 now <11> But seriously, you're an idiot for putting XP sp2 on there. That thing shouldn't be running anything more than NT4.0 workstation or Windows ME. <11> MAYBE Windows 2000 if you shut enough stuff off. <10> ... linux i say <10> considering that your windows version is warezed anyways <4> I still play DOTT on ScummVM. :) <10> what is DOTT? <4> Day of the Tentacle <4> same league as Monkey Island, Sam and Max, etc. <10> ah ok .. oh we have the orginal on diskettes <10> i never played it <4> cehteh: www.scummvm.org will let you play it on mordern systems <10> and no 5 1/4" flolly here anyways :) <10> i have the scummvm <10> debian packaged it and B*** & flight of the amazoon queen <10> B*** is awsome <10> startkeylogger <14> foo. <10> :) <15> hello can any one tell me a good c++ compiler to download ? <10> gcc.gnu.org <14> visual C++ 2005 express <16> devc++ @ bloodshed.net <14> pffft <14> He said 'good' <14> :p <10> yes VC isnt :) <15> i would like a free download compiler .i try dev but is not very good <14> It's better than most. <14> If not all. <10> lol <14> If it were that bad people wouldn't use it. <10> wont run here, and i am not permitted to run it here, and its license forbids me to create the software i wat with it <14> ****s to be you then. ;) <10> i have gcc <14> So do we for our server builds. <15> so can any one tell me a good and free compiler to download like dev or borland? <15> please? <1> HIGHLLAND: you seem to be confusing IDEs with compilers.
Return to
#c++ or Go to some related
logs:
#allnitecafe #linux #india #india Nizam.ru #photoshop #india #allnitecafe __imp___CrtDbgReportW solid #chat-world
|
|