Jump to content

Array: Difference between revisions

m (→‎C: some cmt fix)
Line 21:
frequency[ch] = 0;
 
ch = fgetc(any_text);
while (!feof(any_text)) {
if (is_a_letter(ch))
/* if the char is a letter, then increase character slot in the freq table: */
frequency[ch-'A'] += 1;
ch = fgetc(any_text);
}
 
==Computational metrics==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.