BenjaminYankowitz

Results 3 comments of BenjaminYankowitz

What should _dynarray_{get,set} do in the case of a out of bounds access? Should it print an error message, return an error code, do nothing, or something else?

Personally I prefer option 1, the other two would require an allocation for the data. The three ways I can see to do this are 1. Global state (which might...

I'm not sure why I did not think of that, for some reason the idea that the data has to be copied was stuck in my head. Allocation (at least...