QDB: Quote #311302
About / Browse / Latest / Random / Queue / Prefs / Submit Quote / Search

#311302 (41/75) ↑Funny ↓Awful ⚐Flag
<dn5> I have int start = 1476620495; and int end = 1476620495 (unix timestamp), but if I have int res; and then res = end - start, res returns 0 when printf with %d
<dn5> why?
<izalove> because it's the same number?
<fstd> duh
<dn5> okay thats not supposed to happen haha
<fstd> ,reset
<candide> Days since our last accident: 0
Comment: ##c at freenode
save page | share

About / Browse / Latest / Random / Queue / Prefs / Submit Quote / Search
14,784 quotes approved; 8,799 fermenting; karma: 189.3205