Introduction - If you have any usage issues, please Google them yourself
seed filling algorithm used in a closed curve formed by a ring filled with color, here we only filled black. Seed is actually filled with graphics algorithm, and its tenet is : preparing a stack, Filling the first point to push into Stack; After each pop up a point, this point painted black. Press the left, then the right lower in the order View its four adjacent spots, and white (said that it had not yet filled), by being neighbors push into Stack. Has been circulating until the stack is empty. At this point, all the regional point has been Tu became black. Here, our own definition of a stack data structure and operations, the realization of the initial stack, push, pop, to determine whether the air, and destructors.
Packet : 47651484mysplit.zip filelist
Mysplit/
Mysplit/DibImage.cpp
Mysplit/DibImage.h
Mysplit/ErZhiHuaDlg.cpp
Mysplit/ErZhiHuaDlg.h
Mysplit/lena.bmp
Mysplit/MainFrm.cpp
Mysplit/MainFrm.h
Mysplit/MuBiaoErZhi.h
Mysplit/Mysplit.aps
Mysplit/Mysplit.clw
Mysplit/Mysplit.cpp
Mysplit/Mysplit.dsp
Mysplit/Mysplit.dsw
Mysplit/Mysplit.h
Mysplit/Mysplit.ncb
Mysplit/Mysplit.opt
Mysplit/Mysplit.plg
Mysplit/Mysplit.rc
Mysplit/MysplitDoc.cpp
Mysplit/MysplitDoc.h
Mysplit/MysplitView.cpp
Mysplit/MysplitView.h
Mysplit/QuYuZhengZhangDlg.cpp
Mysplit/QuYuZhengZhangDlg.h
Mysplit/ReadMe.txt
Mysplit/res/
Mysplit/Resource.h
Mysplit/res/Mysplit.ico
Mysplit/res/Mysplit.rc2
Mysplit/res/MysplitDoc.ico
Mysplit/res/Toolbar.bmp
Mysplit/StdAfx.cpp
Mysplit/StdAfx.h
Mysplit/区域.BMP
Mysplit/印章.bmp