Which Anti Virus

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Friday, 19 April 2013

BOUNDRY_FILL ALGORITHM

Posted on 04:14 by Unknown

#include<stdio.h>
#include<conio.h>
#include<graphics.h>
void fill_boundary(int x,int y,int fg,int bg);
int x,y;

void main()
{

   int gd=DETECT,gm;
   clrscr();
   detectgraph(&gd,&gm);
   initgraph(&gd,&gm,"");
   rectangle(50,50,100,100);
   fill_boundary(55,55,4,15);
   getch();
   closegraph();
}
void fill_boundary(int x,int y,int fg,int bg)
{
if(getpixel(x,y)!=fg && getpixel(x,y)!=bg)
{
putpixel(x,y,fg);
fill_boundary(x+1,y,fg,bg);
delay(50);
fill_boundary(x,y+1,fg,bg);
delay(50);
fill_boundary(x-1,y,fg,bg);
delay(50);
fill_boundary(x,y-1,fg,bg);

}
}


Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in Cprog | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • Different Types Of Computer Ports
  • Features Of Android KitKat
    1) The new Phone (Dialer) app is now linked online with Google Maps. This means if your type Big Bazaar in Phone app (Not Search) and if tha...
  • C Program Library files(Header Files)
    1. <stdio.h>: input and output  function in program. 2. <conio.h>: to clear screen and  pause information function. 3. <ctype...
  • Free Download E-DRAW MAX
    link 1 : http://hotfile.com/dl/ 254163134/8de2252/EDM.rar.html
  • Different Operating System and Their RAM Support
    Windows 8 64 bit Enterprise  Professional : 512 GB Windows 8 64 bit :128 GB Windows 8 32 bit : 4 GB Windows 7 64 bit Ultimate, Enterprise ...
  • How To Protect Your Computer From Keyloggers
    A keylogger is a small program that stores each keystroke a user types on a specific computer's keyboard. It is capable to send log file...
  • GTU Paper Solution and Material as Per GTU syllabus
    Go to this website and download the Study material of GTU Syllabus. http://gtu-paper.blogspot.com/
  • How to Hackers Erase Tracks After Hacking
    Whenever someone comes in contact with another person, place, or thing, something of that person is left behind. This means that the attacke...
  • Shutdown Your Friend’s PC While Chatting
    Shutdown Your Friend’s PC While Chatting   Hey, Here this the trick for shutdown your friend’s PC while you are chat with friend.Here is som...
  • Steps To Find Manufacturing Date Of Your Computer
    WANT TO KNOW THE MANUFACTURING DATE OF YOUR COMPUTER?? Follow the Steps: 1) Open run and type debug & hit OK 2) In command prompt type D...

Categories

  • Android
  • Android Apps
  • apps
  • BlackBerry
  • Cprog
  • dfd
  • erd
  • Facebook
  • general
  • Hacking
  • HTC
  • ios
  • java
  • Mobile
  • nokia
  • Samsung
  • Srs
  • Window Apps
  • Windows 8

Blog Archive

  • ▼  2013 (91)
    • ►  November (6)
    • ►  October (5)
    • ►  September (17)
    • ►  August (3)
    • ►  July (8)
    • ►  June (13)
    • ►  May (12)
    • ▼  April (27)
      • Windows 8 - Keyboard shortcuts
      • HTC 8x
      • Cool Wallpapers HD : Get it free
      • Gun N Strike Terrorist : Get it free
      • Temple Run For Windows Mobile
      • BOUNDRY_FILL ALGORITHM
      • E-R Diagram For Airlines Reservation System
      • E-R Diagram For Hospital Management System
      • Bypass School/College/Office Firewall
      • How to Hackers Erase Tracks After Hacking
      • Creating a fake ( Phishing ) page of gmail,faceboo...
      • Recover Password Of --> Linux Ubuntu , Windows XP,...
      • A Virus Program to Restart the Computer at Every S...
      • How To Protect Your Computer From Keyloggers
      • How to get a admin account on a school / Collage PC
      • Increase Firefox Surfing Speed
      • Blocking Ultrasurf with a Sonicwall Firewall
      • Hacking Aspx / Php websites (ACTIVE SQL INJECTION)
      • Will Facebook’s phone gamble with ANDROID / WINDOW...
      • HOW TO : Speed Up Youtube Buffering Speed
      • SRS For Hospital Management System
      • SRS for Library Management System
      • Hack Your Modem and Increase Your Download Speed
      • BlackBerry Z10 coming soon with WXGA resolution
      • Samsung Galaxy Pocket Neo and Galaxy Star with Jel...
      • Loop Mobile DND | Activate Loop Mobile Do Not Dist...
      • Hacking Cyberoam(Bypassing)
Powered by Blogger.

About Me

Unknown
View my complete profile