On the bowling problem, can we assume that the input data will be terminated with -1?
Yes, the input data will be terminated with -1. If you determine that the input is invalid prior to encountering the -1, you may stop reading data immediately or continue to read data until you encounter the -1. However, if you encounter the -1 early (ie, not enough data was provided), you should stop reading data based on the -1. There will be no more data to read after a -1. 5.
Related Questions
- Im using the Data Manager and one of the data input fields won accept data even though the data is correct. How do I fix the problem?
- I have uploaded my data, but it is not visible using the iControlDB download software. Was there a problem with the upload?
- I am unable to import 2007 data. What is the problem?