How to run ACP : Unit 4 - 7th program ->
1. Open compiler.
2. Click on Options.
3. Select Directories.
4. Now in the ouput directory, the path should point to the BIN folder.
If it is not, change it to BIN.
Eg. C:\TURBOC3\BIN
5. Now open the program. Compile it and then run it.
6. It will display "Invalid command syntax"
7. Press enter and now open DOS Shell from File Menu.
8. Now enter command like this- "acp4_9 file.txt hey"
Here,
"acp4_9" is the program name.
"file.txt" is the file you want to search. Enter your preferred file.
"hey" is the word you want to search. It can be any word.
9. Press enter.
10. It will ask for another word. Enter a word if you want or just press enter to exit.
11. Open word.txt file. It contains the word with the frequency.
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.