Hi there - first post here on CProgramming, and until now I've managed to find solutions to my coding problems online or by thinking through it more. But here, I'm stumped:
My goal is to make, essentially, a 2-d grid of spaces or slots or something. At the moment, they are all filled with an integer called "label" that increments by one before every time it's put into a slot, so (hypothetically) space 0,0 is 1, space 0, 1 is 2, space 0, 2 is 3...etc.
Previously I tried using a 2d array for this but that failed pretty soundly since I wanted to define the length and width of it AFTER defining the array itself, and the compiler was not too agreeable on that.
Anyway, here's the source:
I realize I really -should- be using an iterator for this, but...I don't think this is my issue at the moment. If it is, please be kind enough to let me know so I can take a whack at that.
Oh wow, I suck at teh C++. I found at least one super-obvious problem after some more frustrated debugging...This post can probably be ignored - I would delete it, but I don't see an option...
Yep...it appears pretty much all of my problems have been solved: everything is running pretty much ok.
An example of CardboardAnalyst?