Remember the first step is to look for an excuse not

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: er before beginning to code. The - - symbols in the array diagrams on the front page mean “don’t care”. This means that we really don’t care what the value there is. It could be anything, but it shouldn’t matter. Therefore, don’t be concerned about how to “delete” stuff from an array. It’s not important. What really matters is that you can set and get values at different locations in the array, which is all you need to do in this lab. While implementing such a function, it is always a good idea to first check for the conditions under which you should not have to do a lot of work. This is similar to looking for any and all excuses not to do a chore your mom wants you to do. Here, you should first check whether or not the stack is full...
View Full Document

Ask a homework question - tutors are online