Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
My kid found a probem with a program in a couple minutes.
#1
Handed my kid a simple dice roller program to see how worked on his computer.  It worked fine... until he decided to enter the maximum integer value for the # of dice rolls. The program accepted it but... then NOTHING. It didn't crash the system but it was going to take a LONG time to get an answer as it looped through all those dice rolls.

It was an easy fix to throttle the maximum valid input values but it was a good reminder to me to have someone else check a program before sending it on to other people.
Reply


Messages In This Thread
My kid found a probem with a program in a couple minutes. - by James D Jarvis - 12-06-2023, 06:53 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Ok, sound experts need a couple of answers doppler 3 8,538 11-03-2024, 01:23 AM
Last Post: doppler
  Finally i've found a proper way WriterHash 5 1,300 09-14-2024, 02:44 PM
Last Post: bplus
  Look what I found! TerryRitchie 3 760 07-27-2024, 05:14 PM
Last Post: Pete
  Small bug found in the IDE Pete 5 958 03-05-2024, 12:00 AM
Last Post: Pete
  I found it! SMcNeill 5 1,179 12-08-2023, 05:05 PM
Last Post: SMcNeill

Forum Jump:


Users browsing this thread: 1 Guest(s)