2004-06-27から1日間の記事一覧

はじめての C

あるファイル中の a から z までの文字の出現回数を数えるプログラムを作成せよ。 標準入力の方法はつぎのとおり $./countwd /* countwd */ #include main() { char ch; int count[26]; int ii, num; int a = 0, b = 0, c = 0, d = 0, e = 0, f = 0, g = 0, …