/********************************************************** This program a( ) edits the original input text file [A.txt] . It exchanges the original word OW[ ] with the new word NW[ ] in the text. The output file is [B.txt] . It also needs the input data file [D.txt] which gives the values of NOW,NNW,OW[ ] and NW[ ]. *********************************************************** [D.txt] [A.txt] a( ) --> [B.txt] ************* the input data file [D.txt] ****************** NOW =4 NNW =6 Original Word =花子 New Word =よしこ ************************************************************ ************** Original Text [A.txt] ************************ ***************************************************** 花子さんはたいへんかわいい女の子です。 昨日、学校の校庭で花子さんはお友達といました。 ***************************************************** ************** Modified Text ************************ ***************************************************** よしこさんはたいへんかわいい女の子です。 昨日、学校の校庭でよしこさんはお友達といました。 *****************************************************