Send
Close Add comments:
(status displays here)
Got it! This site uses cookies. You consent to this by clicking on "Got it!" or by continuing to use this website.nbsp; Note: This appears on each machine/browser from which this site is accessed.
Program development
1. Program development
Never type an entire program into the computer and then try to get it working.
Instead, start with something that works, and make little changes, one by one, so that the program works at all times.
If at any step it stops working, then revert to the last program that worked.
2. Backups
To revert to a previous program, one needs to keep backups.
In the RIDES system, whenever you compile a program and the program file has changed, a backup is saved in the
BACKUPS folder in the following form.
yyyy-mmdd-hhmm.c
The
yyyy is the year, the
mmdd is the month and day, and the
hhmm is the hour and minute.
3. Comparisons
A future exercise will provide an easy way to compare backups with the current program file.
4. End of page