Difference between revisions of "Section C AS 2017"
(→Improvements) |
(→Improvements) |
||
Line 7: | Line 7: | ||
[[In InitialiseField the question to load an existing file only accepts Y and not y]] | [[In InitialiseField the question to load an existing file only accepts Y and not y]] | ||
+ | |||
+ | [[Change ReadFile so it asks to re-enter the filename if it was incorrect]] | ||
[[You can read a file but can't write a file to save it]] | [[You can read a file but can't write a file to save it]] |
Revision as of 14:14, 2 March 2017
Introduction
Questions will use the Skeleton Program and the Preliminary Material, and you will be expected to carry out tasks on the skeleton program in your examination.
This page will identify some of the alterations / improvements that can be made to the skeleton program. It is important to explain what problem the alteration is tackling, and explain how to make the improvement itself.
Improvements
The number of years should be between 0 and 5 but no validation takes place
In InitialiseField the question to load an existing file only accepts Y and not y
Change ReadFile so it asks to re-enter the filename if it was incorrect
You can read a file but can't write a file to save it