I want do program to search a word in the Input file if it is not found then print it to output file.
But the problem is When it search the word in first line of input file and if it is not there then it prints that word to the output file then goes to next line and again search for that word,if it is not there then again it prints it.
I want it to search the total file for that word if it finds it then nothing to do but if it finds then print it to ooutput file.
need a help .....
mahesh.....
But the problem is When it search the word in first line of input file and if it is not there then it prints that word to the output file then goes to next line and again search for that word,if it is not there then again it prints it.
I want it to search the total file for that word if it finds it then nothing to do but if it finds then print it to ooutput file.
need a help .....
mahesh.....
Comment