Apply Now :

Font Style in C (Graphics)

Monday, 12 December 2011

/* C Program Graphics in C
Font Style in C
Calibre It & Management Institute
[ Krishna suman ]*/

#include<graphics.h>
#include<conio.h>

main()
{
int gd = DETECT, gm, x = 25, y = 25, font = 0;
initgraph(&gd,&gm,"C:\\TC\\BIN");

for ( font = 0 ; font <= 10 ; font++)
{
settextstyle(font, HORIZ_DIR, 1);
outtextxy(x, y, "Text with different fonts");
y = y + 25;
}

getch();
closegraph();
return 0;
}




Share this Article on :

4 comments:

Unknown said...

it's not working

underground dragon said...

thankss brother its works me and its usefull ...

Unknown said...

does not work :(

Anonymous said...

Casino of the Day - Mapyro
View all Casinos and get a 150 안성 출장안마 Free Spins No 오산 출장샵 Deposit Welcome Bonus on your first Deposit. 안산 출장샵 Casinos with a license from Curacao 동해 출장마사지 Casino and one of the 평택 출장안마 top casinos in the world.

Post a Comment