Anonymous user
Bitmap/Flood fill: Difference between revisions
m
→Simple and complete example in C89
Line 279:
*
* This is an implementation of the recursive algorithm. For the sake of
* simplicity, instead of reading files
* read and write Portable Bit Map (PBM) files in plain text format.
* Portable Bit Map files can also be read and written with GNU GIMP.
Line 291:
* Note: In order for a program to work properly it is necessary to allocate
* enough memory for the program stack. For example, in Microsoft Visual Studio,
* the option /
* size of 1MB.
*/
|