jeudi 11 novembre 2021

How to mirror an array in C++

Im looking to “color in” a 15x13 “picture” (i.e. an array that contains 13 arrays each with a size of 15) with 1s and 0s. The aim is to fill in just a quarter of the “image” and then fill in the rest symmetrically (so by doing the vertical symmetry to fill in the opposite quarter, and then filling in the half that’s left). I’ve given it some thought but don’t really know when to start (I am a beginner). Any tips would be appreciated!

Aucun commentaire:

Enregistrer un commentaire