@# 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> I did :P
<0> and I'm getting NaN
<1> then that's the answer
<0> no I mean .. :P
<0> like .. am I getting that because the numbers are really small?
<1> *shrug* I think a division by 0 results in NaN, right?
<2> the problem isnt that they're really small, the problem is that really small number 1 must be of a vastly different exponent than really small number 2
<1> or does it just throw an exception
<2> well to reproduce your realrier problem that is
<2> look, it's like this 2e50 - 1e0 = 2e50
<3> rdragon-wrk: VC++ converts it to a C++-ish exception, otherwise it's a hardware one
<1> yeah, that's what I thought
<0> so my answer of NaN just means the numbers are, for all intents and purposes, equal? :D
<4> but that's uaually only for inter math, I thought
<4> integer
<1> Alyas_Denial - no.



<1> and don't private message me
<5> is this true: abstract cl***es can have objects instantiated from them if the proper permissions are set.
<1> permissions??
<3> Proper permissions?
<4> there is no such thing as an abstract cl***
<3> Well if you chmod +x the cl***, sure, you can execute it
<3> Or something
<1> hehe
<3> Ehm yes there is, cn28h
<1> unknwonFortl - we aren't here to take your test for you
<4> in C++?
<3> Yup
<4> I dind't think abstract was a keyword
<3> It's not
<1> it's not
<0> oh well ... if I'm getting NaN, I'm just taking really small number 1 = really small number 2 :D
<3> Any cl*** with a pure virtual is abstract
<1> abstract = "has at leat one pure virtual function"
<4> oh I see
<0> thanks for the answers all. Much appreciated.
<4> I was thinking Java
<1> stop thinking java
<1> it's bad enough javaq_ hangs around, heh
<3> And I get a bunch of Sun ads
<4> it was the only time I heard abstract cl*** haha, didn't know people called pure virtual cl***es abstract cl***es too but that mekes sense
<3> And I call one with everything pure virtual an interface, w00t
<1> nobody calls them 'pure virtual cl***es'
<4> ok
<1> Alyas_Denial - NO, IM NOT
<1> and stop private message / noticing me :/
<1> it makes me angry
<1> you won't like me when I'm angry
<6> then just reply with a simple no
<1> I did.
<6> uh huh
<1> [14:02] <1> Alyas_Denial - no.
<1> you're in #politics, that's the problem here
<1> and #government at the same time
<6> prob is?
<3> We should ban everybody from #politics, but JBlitzen just won't leave
<6> not my normal network here...
<6> is there sum past history I should know?
<7> yes, history usually is past :p
<7> with that, i'm going to bed
<7> nn
<8> please how to get the size of a file ?
<9> www.google.com
<8> u dont know it ?
<9> can't remember exactly
<9> open the file and seek to the end, then tellg or something like that
<10> yea basically
<8> but if the file size if null ?
<1> null? I think you mean 0
<1> why do you need to know the size of the file?
<8> well
<8> i dont reall yneed that
<8> but i just wanna check for emptyness
<1> if it's empty, then your first read will fail
<8> whithout



<8> making an STD_out_OF_RANGE error
<8> and terminating the program ?
<1> huh?
<1> what the hell is that?
<10> Guns|n|r0s3s: by emptiness, do you mean you want to check if the file actually exists?
<8> no
<8> i just wanna check if it has data
<8> and btw, how to read a full line ?
<10> #include <string>, std::getline
<8> i mean from a file
<10> yes...
<8> but i am using
<8> a FILE * stream
<10> no
<10> use std::ifstream
<10> well anyway, I need to go play some videogames
<10> brb
<11> why the hell does a win32 app created in vs2005 need runtimes?
<8> it doesnt
<8> only stupids like me still use it
<11> http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=164465&SiteID=1
<1> xation I'd love to see the program run without runtime libraries
<1> but yes, if you have the express edition, it's a little h***le to deploy your app
<11> but is it because i may have a crt option enabled or something like that that i can turn off
<11> i am not using express
<1> <11> but is it because i may have a crt option enabled or something like that that i can turn off <-- huh?
<1> if you want to deploy your app, create a Setup Project to bundle the runtime libs into the installer
<1> New Project > Setup and Deployment > Setup Project (I think that's pretty accurate)
<12> or link statically to the runtimes
<11> its pretty gay when you need an installer for an 11.5 kb app
<1> *shrug* then make your executable larger
<1> it's not homo***ual, it makes perfect sense
<1> the need for runtime libraries has nothing to do with the size of the executable
<8> well me i have a profi edition
<8> where i get how to make my app work on any comp in peace ?
<1> I think I just explained how
<1> [15:08] <1> New Project > Setup and Deployment > Setup Project (I think that's pretty accurate)
<8> i dont want to make install project
<8> how to link staticly then ?
<1> change your linker settings
<8> i have a file coposed of lines of this ; 048091
<8> fprintf(fout,"%i\t%10.6f\n",i,at(i));
<8> is the function that wrote them
<1> why fprintf?
<1> why not just use file streams?
<8> but when i use scanf("%s\t%f)
<8> but when i use scanf("%s\t%f",&i,&x)
<8> i get nosence in x
<8> why ?
<11> rdragon if i were to move this same application to vs6
<8> well i am not in the mood the reschape the function now (lazyness)
<11> would it need the vc runtime files?
<1> of course
<11> which ones
<1> why would you use vc6?
<1> it's trash - don't use it.
<11> i wouldnt
<11> just asking which VC runtimes files would be needed
<1> then it doesn't matter
<1> it would need whatever version of the runtimes vc6 links against
<11> well that was very helpful
<11> just say i dont know
<12> what do you mean by "runtimes" thats a very ambiguous term
<11> why the hell does a vs2005 app
<11> need msvc70.dll
<1> because something depends on it
<12> it doesnt if you link statically
<11> why
<8> so cant anybody hel p?
<12> and increase the exe size
<1> xation why what? why does something depend on it? because it does.
<11> why arent any visual studio runtimes needed in vs6?
<12> they are
<1> they are - just chances are every windows system has them


Name:

Comments:

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






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

Ladygrace wow
what alcohool does to your liver
Compy undernet
manual de usuario de ubuntu
SIOCSIFFLAGS Invalid Arguments
#c++
#AllNiteCafe
crontab ahsay
#linux
#linux



Home  |  disclaimer  |  contact  |  submit quotes