Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Post History
Yes, it is cheating, but I gave up with my question as originally stated, and settled for an x,y "view" in any function that must play with a given .items length by adding: char (*pixy)[len] = (ch...
Answer
#1: Initial revision
Yes, it is _cheating_, but I gave up with my question as originally stated, and settled for an x,y "_view_" in any function that must play with a given .items length by adding: ``` char (*pixy)[len] = (char(*)[len]) baskets[len].items; ``` at the top of the functions concerned. With minimal time/space/aggravation cost, pixy navigates the .items char* array for a given item length (in that function scope) with: ``` pixy[x][y] // no * necessary ``` The resulting code is much tidier, and thus easier to read/write. Thank you for the inputs! wasizy.