General Programming Discussion

8712 readers
16 users here now

A general programming discussion community.

Rules:

  1. Be civil.
  2. Please start discussions that spark conversation

Other communities

Systems

Functional Programming

Also related

founded 6 years ago
MODERATORS
376
377
0
Grid World (alex.miller.garden)
submitted 2 years ago by yogthos@lemmy.ml to c/programming@lemmy.ml
378
379
380
381
382
1
submitted 2 years ago* (last edited 2 years ago) by lofenyy@lemmy.ca to c/programming@lemmy.ml
 
 

Fellas, why is this happening, especially sometimes but not other times?

Here, I run the program three times, getting the exact same correct output. On the fourth, it outputs broken numbers. The function prnStats what's being executed.

383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
view more: ‹ prev next ›