Skip to main content

All Questions

2 votes
2 answers
309 views

Trying to teach a high school student Dynamic Memory Allocation - what are the best ways to do so?

Copied from stack overflow due to feedback So I want to teach someone how to do dynamic memory allocation using the block padding model. What that means is every memory block is prefixed and ...
user64742's user avatar
  • 145
21 votes
5 answers
4k views

Algorithm for calculating a bullet path to a target with max. 2 ricochets

Sorry for the poor title but I didn't have a better way to phrase it... So there's this amazing game by Nintendo (yes!) on Wii called WiiPlay. There're 9 minigames in it, and my favorite one is ...
hello all's user avatar
  • 358