hi to all.... I have a problem. I know few the c but I need a program
to extract from a file .doc all the characters A (for example) and to
memorize them in a file counting them....
A .doc file will be in a specific Microsoft format. For what you
appear to want to do, you should probably use a text file. Load the
document into MS Word and save it as a text file (.txt), it should
appear as one of the options in the "Save as type" drop down menu.
Once you have your text file then you will need to write a C++ program
to read the file, counting 'a's and save the result to another file.
Start by creating a small test text file "a1a2a3a4a5a6a7a8a9a0" with
ten 'a's in it. Then write you program and check that it correctly
counts the 'a's in your test file. When that works you can try larger
test files and eventually the actual .doc file (converted to text).
rossum