Description: Description
This assignment tests your knowledge of C++ memory management, pointers, and parameter passing. The program contained in wordlist.cpp reads a list of words from a text file, and then displays the words to the console. The program, however, contains run-time errors. These errors all relate to the use of pointers, the passing of parameters, and dynamic memory management.
Your task is to correct these errors. The use of a debugger is very strongly suggested. This will save you time and give you practice using a debugger.
To Search:
File list (Check if you may need any files):
Recommended Exercise 2\Recommended Exercise 2\Recommended Exercise 2.vcxproj
......................\......................\Recommended Exercise 2.vcxproj.user
......................\......................\Recommended Exercise 2.vcxproj.filters
......................\......................\words.txt
......................\......................\wordlist.cpp
......................\......................\Debug\Recommended Exercise 2.log
......................\......................\.....\Recommended Exercise 2.lastbuildstate
......................\......................\.....\vc100.idb
......................\......................\.....\vc100.pdb
......................\......................\.....\CL.read.1.tlog
......................\......................\.....\CL.write.1.tlog
......................\......................\.....\Recommended Exercise 2.exe.intermediate.manifest
......................\......................\.....\link.read.1.tlog
......................\......................\.....\link.write.1.tlog
......................\......................\.....\mt.read.1.tlog
......................\......................\.....\mt.write.1.tlog
......................\......................\.....\wordlist.obj
......................\......................\Errors.txt
......................\Recommended Exercise 2.sdf
......................\Recommended Exercise 2.sln
......................\Recommended Exercise 2.suo
......................\ipch\recommended exercise 2-5ce42796\recommended exercise 2-b862afb9.ipch
......................\Debug\Recommended Exercise 2.ilk
......................\.....\Recommended Exercise 2.pdb
......................\.....\Recommended Exercise 2.exe
......................\Recommended Exercise 2\Debug
......................\ipch\recommended exercise 2-5ce42796
......................\Recommended Exercise 2
......................\ipch
......................\Debug
Recommended Exercise 2