///////////////////////////////////////////////////////////////////////////// // Book Project.... // #include<constream.h> #include<graphics.h> #include<dos.h> void main(){ int gm, gd = DETECT; initgraph(&gd,&gm,"e:\\tc\\bgi"); cleardevice(); settextstyle(10,0,5); outtextxy(200,20,"BOOK"); line(250,130,250,218); int col=249,srow=130,erow=218,i; setcolor(2); line(249,130,249,218); for(i=1;i<=10;i++){ line(col,srow,col,erow); col--;} setcolor(6); col=251; for(i=1;i<=68;i++){ line(col,130,col,218); col++; } setcolor(10); line(305,130,318,143); setcolor(12); line(306,130,319,143); line(307,130,318,141); line(308,130,319,141); line(309,130,319,140); line(310,130,319,139); line(311,130,319,138); line(312,130,319,137); line(313,130,319,136); line(314,130,319,135); line(315,130,319,134); line(316,130,319,133); line(317,130,319,132); line(318,130,319,131); setcolor(10); line(318,206,305,219); setcolor(12); line(318,207,306,219); line(318,208,307,219); line(318,209,308,219); line(318,210,309,219); line(318,211,310,219); line(318,212,311,219); line(318,213,312,219); line(318,214,313,219); line(318,215,314,219); line(318,216,315,219); line(318,217,316,219); line(318,218,317,219); setcolor(15); rectangle(239,129,319,219); getch(); }
C Program For Creating A Book
January 04, 2015
By:
Bhanu Namikaze
Bhanu Namikaze
Bhanu Namikaze is an Ethical Hacker, Security Analyst, Blogger, Web Developer and a Mechanical Engineer. He Enjoys writing articles, Blogging, Debugging Errors and Capture the Flags. Enjoy Learning; There is Nothing Like Absolute Defeat - Try and try until you Succeed.
No comments:
Post a Comment