@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6



Comments:

<0> weird
<1> one more question about fopen(), when you open a file does it force create?
<0> depends on the mode
<0> the 2nd arg
<0> if you read file "r" , no
<1> i need it to force create a binary file
<0> if you open file "w", yes
<0> "wb"
<1> good, thx ;)



<2> blah blah blah
<2> hi
<2> :D
<3> MagnusL, hmm actually, why should it be initialized at definition? I just tested and for example: struct test hello_world; ... hello_world.will_not_modify = (char *)0xABEE. Will work. Member initialized later.
<1> ok i have a recv() and everything is fine UNTIL i get disconnected from the server, the recv() still waits to receive 1023 bytes from out of nowhere?
<0> says who
<1> well my program just stays :\
<3> Suppose there is code: ... char *ptr; ... ((unsigned int)ptr < 65536). This always gives me an error. Changing it to (ptr < (char *)65535) gives no warning; Would the 2nd way be more correct to test this weird error reporting through addresses?
<0> do you mean, recv() is stuck ?
<1> yeah
<0> Boro: can't be
<0> pkrum: why would you compare pointer with some fixed number, exactly ?
<0> Boro: when socket is disconnected, recv() returns vale <=0
<1> i see
<1> damn, the man said -1 :\
<4> yes
<4> <= 0
<1> well didnt know about other error codes, i just said -1 in my program
<1> :)
<1> works now, thanks.
<0> weird Boro
<3> DynaMish, it is not my code. I suspect that the writer of code meant to report errors codes through addresses less than 65535, he probably ***umed OS will never give such a low address to userspace
<0> not good
<3> definitely
<3> but i have to live with it, it's WinAmp which does so.
<0> ah, windows
<3> yes, today i am writing windows stuff
<0> maybe on windows it's safe ***umptions
<5> if `Burn were here, he could tell you
<5> (burn wrote winamp)
<3> burn?
<0> if i needed to p*** error codes via pointers, i'd use small negative numbers
<5> all the nullsoft guys used to hang out here back in '97



<0> thsi is what linux kernel does
<0> the top winamp code left nullsoft 2 years agp
<0> s/code/coder/
<0> wh***hisname
<0> shortly after this big company bought nullsoft
<5> ruby uses a different trick; it ***umes that all pointers to data are word-aligned, so it sets the least significant bit to 0 for pointers and to 1 for integers
<3> aol bought winamp, na?
<5> yes
<3> is it a safe ***umption?
<0> justin frankel his name
<6> i bet they made alot of money
<6> on that sale
<0> so, you say justin frankel hanged here ?
<0> back in 1997 ?
<3> yes he did
<3> i read winamps history a few years ago
<0> i switched to irssi today
<0> from epic
<0> after winamp2, winamp never worked reliably for me
<7> i never understood why media players in general don't follow UI guidelines, i hate all those fancy skins and tiny buttons
<5> I like epic. I don't remember why I switched to irssi.
<5> the mp3 players back in the day that used the standard windows control were pretty boring. I don't care for the skins much anymore either, but I'd rather have the skins than something that bare and unfriendly.
<3> bitchx
<8> loebster: difference of opinion perhaps? personally I hate winamp's little tiny buttons. HOWEVER, I also think winamp is one of the most useable, awesome GUIs around, because there is a keystroke for *everything*
<8> and yes, I'm talking about Winamp 2 as well
<8> anything after that is just bad news
<0> winamp2 was economical. winamp5 ate so much resources.
<8> The whole move to making it play videos was its demise.
<7> CStubing: sure, i do use the keyboard shortcuts, just because the gui is useless
<8> loebster: as I said.. perhaps it's a difference of opinion.. I'd *much rather* use my keyboard than my mouse.
<9> d
<9> Oops.
<10> e
<11> is it possible to backtrace into a library call? do i have to link with a library with debug information?
<12> hank_hill you need only to step
<12> if you have printf("Hello World\n");
<12> just type in 's'
<12> and return
<12> ;)


Name:

Comments:

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






Return to #c
or
Go to some related logs:

mywifecheats
#politics
chop and screw progs
#beginner
#computers
#debian
#debian
A M I - 9000505 BIOS
education illegal inmates
#windowsxp



Home  |  disclaimer  |  contact  |  submit quotes