C++ How to create a large bitmap from a datalist stored in a deque?
问题 I am building my first ever program in C++ over and over again. The program is intended to create a picture, a gradient - with parameters of height h , width l , in pixels, and 4 parameters of density Da, Db, Dc, Dd . This gradient is produced by '1 bit' pixels: they are black or white - and by the simplest error-diffusion algorithm (so-called "naive" sometimes), >> push the error on the next pixel of the line. After having performed an optimization ( deque instead of vector allows bigger