Question: checking if the file is open correctly in the GenerateFrequencyTable function. checking the return value of aFile.open() to make sure the file was opened correctly.

checking if the file is open correctly in the GenerateFrequencyTable function. checkingchecking if the file is open correctly in the GenerateFrequencyTable function. checking the return value of aFile.open() to make sure the file was opened correctly.

checking the return value of aFile.get() to make sure the file was read correctly.

checking if aFile.close() is successful in the GenerateFrequencyTable function.

checking the return value of aFile.close() to make sure the file was closed correctly.

The ClearTree function should also be checking if _curr is not null before trying to delete it.

checking the return value of aFile.seekg() to make sure the file was seeked to the correct position.

checking the return value of aFile.read() to make sure the file was read correctly.

checking the return value of bts.Write() to make sure the data was written correctly.

checking the return value of bis.Read() to make sure the data was read correctly.

checking the return value of aFile.write() to make sure the data was written correctly.

I need help with some checking pls i don't know where to start off to make sure that all this is being checked

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!