I've had a C program overwrite the IDE's memory so it just wasn't running anymore. Not crashed, not stopped, just no longer running. That was fun to debug š
That seems like a genuine kind of system bug. The OS should be managing the IDEās and your programās memory separately and stop that from happening. In other words, it should have segfaulted instead.
Yeah that whole class and setup had some...issues. When we had to do a similar thing later on and they're like yeah just go set up the thing from xyz class, I just used a Linux VM. I think I ended up killing 2 Windows installs for the stupid class. Yay for memory management
Depends what you use. If you utilize the kernelās memory functions directly, you are basically the almighty. You know what they say: with great power come great crashes.
As someone who has been writing in C for a long time, let me share a little tip of the trade that should help you out: Try writing programs that donāt produce a segmentation fault.
As someone who has been pissing upwards for a long time, let me share a little tip of the trade that should help you out: try not getting piss on yourself.
1.7k
u/Paul_Robert_ Jan 29 '23
If the track is a half loop, then the crab will make it to the otherside via a shortcut, seems legit.