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



Comments:

<0> well, same goes over here
<0> the cable companies are like the mafia
<1> Paul Graham kind of agrees :)
<2> that's pretty much true of comms companies the world over
<1> which the kafkaesque thing or the mafia thing:)
<2> must sort out my mobile phone bill. way too high for my usage
<1> mine too
<1> OPoo are thieves
<1> and voodoofone are worse
<2> use vodafone myself - much better coverage
<2> actually have it where I live, where I socialise and all over campus :)
<2> rather than o2, which...doesn't
<3> Are the two terms "Unicode" and "UTF16" used interchangeably in windows API? I'm confused...
<4> I presume some authors confuse them
<3> i think they really didn't know the difference
<3> like the API function IsTextUnicode... it should have been named IsTextUTF16 instead, because that's what it checks.



<5> why does sqrt() work even if i don't include <cmath> ?
<5> ?
<6> because your compiler is smarter than you?
<5> well.. no. :o)
<5> using devc++
<6> if a function is undefined it is given a default prototype and a warning should be issues as well
<6> err
<6> the linker still was able to find sqrt() apparently even though the compiler didnt know it's prototype
<5> i've included only iostream, but not cmath and still sqrt() is working fine without cmath
<6> there was no warning?
<5> nope
<6> odd
<7> open source compiler
<5> include <iostream> using namespace std;
<6> doesn't devc++ use gcc?
<5> i think so. but i don't know what that is.
<6> gcc is very popular open source compiler
<7> I know, but I don't think it's using gcc
<7> hmm it's using gcc
<5> is there an explication for this phenomenon?
<5> :p
<4> it's using gcc
<4> yes, gcc is broken
<4> OR perhaps iostream is including <cmath>
<7> should those inherited includes be discarded?
<7> it would make the code cleaner
<5> and then: i'm using rand() without cmath.
<7> *shouldn't
<4> huh?
<5> and it works just fine with and without. and in both cases the returned number is 41
<4> alohaarts I told you gcc is broken
<5> how can i fix it?
<4> it bothers you that they automatically "include" some stuff?
<4> me too, because it makes code that will compile on gcc not compile on other things
<5> hmm.. well. will it affect my .exe files?
<3> alohaarts: no, it won't
<8> but gcc will still ****.
<5> and i don't think i'll fix the problem by reinstalling the compiler..
<4> huh/
<7> you can fix it by installing another one
<5> can i fix it?
<4> fix what ??
<5> well. gcc
<1> tell the maintainers to fix it
<4> yeah, this is one of their "extras" that they think is neat
<4> possibly --pedantic would fix it
<8> ugh
<8> the comedy station is broken.
<8> I don't know why they ever did that crap with gcc?
<8> they used to have this no frills philosophy
<8> from what I remember.
<9> I came in late, what's broken about gcc?
<4> it kinda automagically "knows" about some of the standard header files
<5> sqrt() work even if i don't include <cmath> ?
<5> isn't that odd.
<8> you missed it last night vawjr.
<8> TechRaven was talking about motorcycles
<8> and how they're dangerous, something like that.
<8> I told a story about a friend of mine who got killed on his motorcycle after working on it he took it for a test spin without his helmet
<8> and lost control of it, and ran into a car.



<8> Ewick says, "He deserved it for not wearing a helmet."
<8> WTF is wrong with people?
<10> yeah, they are definetely dangerous.
<11> http://www.break.com/index/primeminister.html
<8> he DESERVED it?
<11> hes the daddt
<7> I have a friend that rides motorcycles and has a lot of other friends with motorcycles. well this guy went to more funerals than my grand-mother did.
<8> not really the point.
<8> How doe someone DESERVE to die for not wearing a helmet
<8> maybe he's asking for it
<8> but, deserves it?
<8> like, it would make sense to give him the death penalty if he was caught doing this?
<7> I haven't said that, don't look at me
<11> Noidea, look at the link I pasted
<8> yeah
<8> it looks edited.
<9> I've heard worse
<11> could be :)
<9> street racers claiming non-racing cars deserved to be driven off the road because they didn't get out of the way
<9> ibiwan.com, racing links at bottom of page
<9> (and no, I don't benefit from page views or clicks)
<8> I like to think of balding as God's way of saying, "Now let's see you get laid."
<12> folks is it possible to have something like this "throw DeriveException().Format("Random text %d", Result);" where format is in the BaseException and returning a refference..._without_ object slicing?
<12> right now my format() is defined as follows "const BaseException& BaseException::Format(char const * fmt,...){...return *this}"
<5> i've downloaded devc++ 4 and it still give me the same results
<4> alohaarts you really don't pay attention, do you
<4> mozai_gon you can throw any object
<5> i'm really sorry, but it's very foggy for me
<4> gcc has what most of us consider a bug. it automatically "knows" about some of the standard headers withOUT #include(ing) them
<5> can i turn gcc off? or at least sove the problem, so that i can work peacefully like in other compilers?
<4> no
<4> gcc IS the compiler
<4> I suggested earlier that the --pedantic option MAY stop it, I don't know
<4> I don't use gcc that often
<12> vawjrwrk: yes, but that isn't the issue. The problem is that DerivedException is sliced and if I do a catch(DerivedException& e){} the block will never be executed
<12> the problem is that the format in my base cl*** is returning a BaseException& so it is getting upcasted always to BaseException
<4> mozai_gon you're not throwing a DerivedException
<12> I know
<12> what would be the solution in that case though?
<13> any specific web to download Borland ?
<4> I have NO idea what you think you're doing, it alll looks like bull**** to me
<8> www.borland.com strywgr?
<12> very constructive
<8> it's in their museum, I think.
<4> mozai_gon well, what you wrote looks pointless
<4> how constructive do you want me to be?
<12> vaw: that is whay I am asking for help.
<4> ....MAYBE you should fix your "format" method
<12> i want to do a format() on an object
<13> y i never think like others :/
<13> thanx NoIdea.. ;)
<12> to set it's internal string
<4> AS you're throwing??????? give me a ****ing break
<12> sure while I am throwing...if I can do it in a single step, why do it in multiple steps?
<4> if you look at how the std::exception stuff is put together, you'll notice that they use the constructor to fill the "message"
<12> I know...I cannot use the ctor
<12> because it has optional params
<4> awwwwwwww, pooor baby
<12> and that wouldn't work with an ellipse
<4> IMO formatting a string as you're throwing an exception if ****ing folly
<4> s/if/is
<12> oh well
<4> and, btw, constructors can take "optional arguments"
<12> I never said the opposite
<12> my ctor already make use of optional args
<12> that is why I cannot use the ellipse for a printf() style formatting
<4> you know C++ decided to use something OTHER than printf() for a reason
<14> sal ll
<14> all
<12> yeah, I know
<4> if you reallyl really insiste that you need the printf style formatting you might want to take a look at boost::format
<4> and use it to create the "formatted string" in the expression and hopefully your exception cl*** can take a std::string as a single constructor argument
<9> how about something like cout<<sprintf()<<endl;?
<9> =D


Name:

Comments:

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






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

#MissKitten
#windows
#php
debian 2.6.8 nvidia + low fps
mirc tampico
#linux
#javascript
#c
c++ redirect to streamstream
PVDASM



Home  |  disclaimer  |  contact  |  submit quotes