shsshs
Newbie level 5
I am writing c++ code and output of the code comes as a matrix. I wonder can I visualize this matrix and save as a image by using c++? My matrix elements only 1 or zero. As a result of this I want to obtain picture compose of black and white squares. Is it possible to write code to create such a picture?