@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet


Comments:

<0> If I have a function "void clear( struct record *rec ) { rec = NULL };" and p*** that function "struct record *rec; clear( rec );" I'm not getting what I expect. Any ideas?
<1> travis: One idea would be to tell us what you expect.
<1> I could guess... But I'd rather you just said it.
<0> rec to be set to NULL
<1> OK. C is p*** by value. You're p***ing a copy of the pointer. To modify the pointer itself, you need to p*** a pointer to it.
<0> hmm. so I need a pointer to a pointer?
<1> Correct.
<0> Alright. Let me see if I can figure that out... thanks.
<0> Got it. Thanks Xirtam
<1> Sure thing.
<0> C seems to be a lot less forgiving than C++
<1> I don't know. C++ lets you do wrong things and it still works correctly?



<0> Well not wrong. More like you dont have to do it only-this-way.
<2> howdy
<2> C++ has the same rules for pointers as C has, wrt p*** by value; it does allow p*** by reference, but if you don't use it, the rules are the same.
<3> dbtid?
<3> are you talking to yourself
<2> no
<2> i don't talk to myself often
<3> well
<3> he killed Charming's father
<3> why did you ban me for a short period of time?
<2> i didn't
<2> i removed your voice
<2> because you're spewing nonsense
<4> 10x
<5> thanks for + bot:)
<6> the key is disabled eh
<7> need help on java, somebody, please
<6> well.. this isnt a java channel.
<6> #java ?
<5> just c under *nix :P
<7> ah ok
<6> Junpei-kun: when you ask a question there, it would be best if you dont ask to ask
<6> just ask the question straight up
<7> ah ok
<6> oh you're filipino
<7> yep
<7> :)
<5> http://www.diwa***.com/dpf383nhq/images/pic16.jpg hhh
<8> I believe this is a "family" channel, Juice`
<9> ...
<3> cai : quit it
<8> PutItak: quit what?
<3> [17:01:07] <8> I believe this is a "family" channel, Juice`
<3> then banning me
<3> from #php
<3> promising a ban lift
<3> and not giving it
<3> same for #phphelp
<8> I never promised a ban lift.
<3> you said it will be lifted!
<3> i waited
<3> I still wait
<3> its annoying
<8> And I don't see what my statement here has to do with anything.



<3> I wont trust you again
<8> Please don't.
<3> your mere presence is annoying me
<8> But I never said I would lift your ban--it's not mine to lift.
<3> unban me
<3> do something to lift it
<3> you're connected
<8> No.
<3> you're plugged
<3> help me
<3> please
<3> ill pay!
<8> I have the access, but it's a morality issue.
<3> you corrupted politician
<3> all you care about is your seat
<8> Yeah, it's a bitchin' swivvel chair.
<3> gtj
<3> gth
<3> unban me
<8> No arm rests, though. That's a shame.
<3> or ill get you banned from here
<8> For the last time, I am not unbanning you. And no you won't.
<3> yes I will
<2> Juice`: english
<5> k i try:P
<2> was there something wrong with the link Juice` posted?
<5> lol:)
<5> was cool :> i think
<8> Well, look at the domain name
<2> ah
<10> www.world***.com?
<10> ups sorry
<11> t
<12> is there any way i can get an integer length?
<13> probably. what do you mean?
<12> i mean, like strlen() but for an int
<14> you mean sizeof() ?
<13> oshkosh: convert it to a string.
<14> ah. you mean how many digits the integer has?
<12> malfunc, yes
<13> oshkosh: alternatively, you can divide and conquer
<12> it looks like am stuck .. lol
<12> thanks anyway
<13> stuck? two ways have been provided.
<12> no, you don't understand. I have this problem where I have to convert a binary into decimal
<12> using int
<13> *shrug*
<9> oshkosh: so you mean, you input a value like 1010 and it should return a decimal?
<12> wizo: yes
<9> hmm
<9> cant you just loop from teh right to the left of teh digits and calculate the decimal?
<12> no, you formula to convert bin2dec is 2^n-1 where n is the length of the input
<9> O.o


Name:

Comments:

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






Return to #c
or
Go to some related logs:

ceaules bulan
#chatzone
#MissKitten
#linux
#php
#chatzone
#networking
i hate scrubs
#MissKitten
problemas gcc kubuntu



Home  |  disclaimer  |  contact  |  submit quotes