Trying to write on C with GLUT'a "Life" Conway . As I understood for the movement of "organisms" I need to process the input buffer and write the changes to another while resetting the original, etc. in a circle (correct if wrong). The question itself: how to remember the information transferred to the incoming buffer, so that you can work with it later?
PS I apologize in advance for the possible incorrect wording of sentences.
lifeyou just need to keep in memory one current array (or a more appropriate structure), and make changes to a new one, which then becomes the current one. - extrn 4:34 pm