@# 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 12 13 14 15 16



Comments:

<0> i liked all the bugs in metroid :)
<1> i love mm2 and mm3 tho, mm1 is great but it doesn't have rush
<0> mm1 is like the hardest megaman though
<1> yeah
<1> ice mans level
<1> is really hard
<1> ive beaten the game many times when i was a kid
<0> i'm not fast enough to beat it anymore :P
<1> i actually have Megaman Powered-Up for the PSP, it's a remake of Megaman1 with 2 new bosses and all redone levels
<1> and it also includes the original game with no modifications (you choose between old and new style)
<2> any of yall played Team fortress
<2> ?
<3> PSP is evil
<0> is that the quake1 mod?
<2> was quake mod
<2> then moved to hl1



<3> Lord Zid, B.S.C.
<2> how do i read this
<2> gHUD.m_iKeyBits &= ~(IN_ATTACK | IN_ATTACK2);
<0> well off i go. i need to hunt up dinner and do some work today.
<3> bye
<1> they just finished the fireworks out here
<2> same
<1> could see em from my house, pretty nice
<2> Biologically try to study me its like calculus with inadequate situation mad disasterous
<1> you must be close to the west coast too
<1> <- arizona
<1> heh
<4> #define malloc(x) malloc((x) > 3 ? (x - 4) : x)
<5> woah complex.
<6> silly.
<4> amusing to debug out
<4> i think x/2 would also be sufficient ...
<4> but would segfault way too early
<5> how do i round an int?
<6> not much point since it cannot have a fraction.
<5> iTemp % 60 + 1 ?
<6> what about it?
<6> if i take that horrid notation to mean that iTemp has type int then the whole expression has type int, and there is no fraction involved, ever.
<5> would that get the amount of times 60 is in iTemp eg if its was 120 would return 2?
<6> % is the remainder operator, not division.
<5> heh
<6> 120 % 60 == 0.
<5> wouldnt it be 60?
<6> nope.
<5> eh
<6> it can never be 60.
<6> it can only be [0,60) which is to say [0,59].
<5> oh
<7> (-60,60), aye?
<6> but, even if you used / so you had th division you thought you had, it would still all be integer arithmetic, never any fractional values.
<5> ugh
<6> yeah, its a ring.
<6> 120 / 59 == 1
<6> now, if you want a limited form of rounding you might do (iTemp + 30), then either % or / depending on what it is you actually want to do.
<7> it's 2, dude.
<6> err, yeah. 2. damn. okay, i need something to drink.
<7> um, i think you've had enough of that already? =)
<6> no, that is likely the problem.
<5> if im using time at the start of my progream then doing time on a loop to check mins and secs p***es how do i get it to not show secs as 66 etc...
<6> don't do the arithmetic yourself, you aren't very good at it.
<5> =[
<6> let difftime and strftime do the heavy lifting.
<5> ;o
<5> are they on win32 also?
<6> of course, they are standard c.
<5> cool
<6> wtf is you damn book?
<6> oh well, where's that tea.
<5> lol
<5> how can i change 'int i = 5' to 'i == 05' ??
<8> int i = 5; initializes i and sets it as 5
<8> i == 05 will return 1, since i equals to 5
<5> ugh
<6> values do not have leading digits.
<6> or if you prefer, since they are in binary and fixed width, they already have all the leading zeros possible.



<9> hello
<9> i don't know wtf it is, but i can't stand iTunes
<5> but im displaying the time and i need it to display 5 as 05.
<6> kthx^: and you don't know how to use printf?
<5> its int's
<5> ;o
<5> how?
<6> Vratha: it pimps so much crap. i can't stand to have it running.
<6> kthx^: read printf's documentation.
<5> i know %d %s etc
<8> are you using printf?
<9> twkm: word... ****in' annoying me... only reason i'm using it is b/c it came with my macbook and works with my ipod that came with the macbook
<5> im using vsnprintf same thing etc...
<6> kthx^: you found a function named vsnprintf but you cannot find how to have leading zero padding? weird.
<5> ah
<5> like this
<5> instead of %d do %02d
<5> ?
<6> damned needy.
<5> ?
<8> 'man printf'
<9> isn't it %.2d ?
<5> no
<6> Vratha: yeah. it seems a good program otherwise. but, toss it and use vlc instead -- though i don't know if it works with ipod.
<5> that would be .
<5> w00t it works
<5> </3
<9> twkm: well, i'll probably just use itunes since it works well... i just can't stand the interface or how it handles updating the ipod automatically (though i think i can fix that)
<9> and by updating i mean deleting all the songs on it that my g/f gave me when she traded me for a newer ipod
<9> because they weren't in my library
<6> sync means death.
<9> kthx^: what are you talking about? #include <stdio.h> int main() { printf("%.2d\n", 1); return 0; } ... prints "01"
<5> oh
<5> hmmm
<5> http://rafb.net/paste/results/sVF4XU46.html
<5> can someone check that
<5> it counts the uptime of the ircd and displays it as days,hours,minutes etc
<9> man pages say a "0" will work fine, like you used... i didn't test it though
<5> e.g
<5> i get this error
<5> (0:6:7) server uptime -> 0 days, 0:02:59
<5> (0:6:7) end of /uptime stats.
<5> (0:6:1) server uptime -> 0 days, 0:04:04
<5> (0:6:2) end of /uptime stats.
<5> skips a minute why?
<5> =[
<10> eww
<10> your color woke me up :|
<5> check my code plz -_-
<5> ;D
<9> i'd just use a '.' though, b/c it gives a precision and forces prettier output
<5> k
<6> the paste doesn't compile. hth.
<5> its a function
<5> out of a 60kb code
<6> *shrug*
<5> ;/
<6> your computation ****s.
<5> err?
<5> my code looks fine
<5> ..
<6> then why does it output wrong values?
<6> minutes = seconds / 60; seconds -= minutes * 60; hours = minutes / 60; minutes -= hours * 60; days = hours / 24; hours -= days * 24;
<11> kthx: lines 13-16 are bogus
<11> you account every seconds three times
<11> just change lines 14-16 to iMinmutes=iHours=iDays=0
<6> heh, since it'll never be up longer than 1 minute?
<11> or what twkm said
<11> lis 18-20 ar ok
<6> not really.
<6> for the minutes and hours loops to work you need to have loaded those objects with values.
<6> oh, you didn't say to zero iSeconds. whoops.
<11> lines 18-20 are slow but otherwise, correct
<9> bah, i have to teach a stupid freshman CS lab tomorrow


Name:

Comments:

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






Return to #c
or
Go to some related logs:

#nhl
#cisco
using assembly shaders
#online
xxxpasshacks
fscommand minimize flash
#computers
compare+constrat
#beginner
Erin Barnett -School -High -Law -Board -Oregonian -dancer -NM -harvest -childre



Home  |  disclaimer  |  contact  |  submit quotes