Click here to Skip to main content
15,796,299 members

Comments by DosNecro (Top 3 by date)

DosNecro 17-Apr-23 14:09pm View    
Thanks, but I was able to use errno and usleep to fix the issue. Any chance you know how to check for out-of-bounds access when updating the ants' position and direction? Cause this is giving me segmentation fault errors.
DosNecro 17-Apr-23 13:56pm View    
Any chance you know how to check for out-of-bounds access when updating the ants' position and direction? Cause this is giving me segmentation fault errors.
DosNecro 17-Apr-23 13:41pm View    
I tried your method, however, it didn't give me a fix. Instead, I used errno and usleep to help fix the issue, and it worked. Though I have to input the time in as milliseconds instead of seconds.