Coders Packet

Implementation of flood fill Algorithm on a Apple pattern in C++

By Viplav Anand

It is a C++ project which replaces all the characters in a given boundary using dfs .

Have you ever imagined how the filling of color in paint application works? when you pour color in a certain region it colors all the regions inside a boundary. This project is a small demonstration of it. In this project I had used an apple pattern to demonstrate the same. When you provide a certain coordinate it will color all the connected components inside the boundary in this case inside an apple.

Language used:-C++  Concept used :-Flood fill algorithm, recursion, DFS, file handling

apple pattern

Through this figure You can see that the region inside the apple is filled with the word r replacing all the dots(.).



Download Complete Code


No comments yet

Download Packet

Reviews Report

Submitted by Viplav Anand (viplav153)

Download packets of source code on Coders Packet