think 4 rohit said:
hi frnds,
i want to make my project on "C" language for "O" level.
but i can't find a good topic 4 that. so plz give me some new topic if
u have an idea about it.
You may well find that a spelling checker would be an excellent project for
you.
Let the program examine a stream of text, breaking it into words and
stripping off punctuation characters. This in itself is not a trivial task
- consider 'I didn't know the isotopes' half-lives - so I consult-
ed 'Nuclide Guide-2'.', for example.
Every time you identify a word, consult your dictionary (which might at
first be empty). If the word is present in the dictionary, pass it.
Otherwise, ask whether the spelling is correct. If the user responds in
the affirmative, add the word to the dictionary. Otherwise, ask the user
to correct the spelling, and re-test (as often as necessary). Proceed
until all words have been identified as correct because they are in the
dictionary, or corrected until they match a word in the dictionary, or
added to the dictionary. Don't forget to save the dictionary data, to make
subsequent spell checking sessions less tedious.