(Latest Revsion: 02/07/01)

designConsiderations


Some Design Considerations
for the Level-One Version
of the Block-Letters Program

What typedef, variable, and function declarations do you need for the level one program? What names are appropriate for your data types, variables, and functions?

What initial values must you give to your variables? Will initialization be a multi-step process and should you write a separate function to do initialization? If so, what should the name of the function be, and what should its parameters be?

When you design your main program you need to think about the interaction with the user. What data type(s) will you use to store responses from the user?

The interaction with the user has to happen inside a loop. You need to think about the functions the loop will call. What steps have to be performed each time through the loop? Which of these steps should be made into functions? What should the parameters of the functions be?

After you write the level one program will you be able to say you can now finish the program completely just by finishing the stub functions -- without changing one thing in the main program or in the declarations of the global data types and variables?

The answer should be "yes".