Powered By Blogger

Monday, May 4, 2009

C Programming

#include
#include

void main()
{
clrscr();
FILE *fp;char ch;
fp=fopen("c:\\billa\\test.ncg","w");
while((ch=getchar())!=)
{
putc(ch,fp);
}
fclose(fp);
clrscr();
fp=fopen("c:\\billa\\test.ncg","r");

while((ch=getc(fp))!='E')
{
printf("%c",ch);
}
fclose(fp);

getch();
}

0 comments:

About This Blog

This is an important blog about updated news about computer science and technology.

Blog Archive

Visitors

  © Free Blogger Templates Blogger Theme II by Ourblogtemplates.com 2008

Back to TOP