dear friends,
In C, a program i wanna write

i.e; from one text file to calculate how many single char exists and print it in one more text file.

try this...............

i cudn't get.

u should use the header file ctype.h. it has a function isalpha() which returns a non zero value on success. read the text file. get one character at a time check if the condition is true and count the no. of alphabets

i hope u understand the basic input output frm a text file.u should read abt isalpha frm the help file .if u still dont get it pm me

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.