Article View: csu.cs.200
Article #145Re: Assignment8 - Using the stack and queue
From: John Erickson
Date: Wed, 02 Dec 1998 00:00
Date: Wed, 02 Dec 1998 00:00
31 lines
1633 bytes
1633 bytes
Answers are inline: Rittner wrote: > When I read in the data from the file do I put the entire file into an array > or just the first maze? One maze at a time. > When I push the data from the array to the stack am I pushing all the data > on to the stack or just one position at a time. Just one position at a time; row, col, steps > When I put the data on the queue is it all the data from the array or just > one position at a time. Same as above answer. > I am also confused on what I tell it to push onto the queue and stack is it > r and c??? row, col, and steps. I would suggest just pushing pointers to 3 element integer arrays. -- -==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==- John Erickson jerickso@holly.colostate.edu Black Sands Consulting Computer Science Major If they can make penicillin out of moldy bread, they can sure make something out of you. -- Muhammad Ali -==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-
Technical Details
Message-ID:
<36659D17.89E30BE1@holly.colostate.edu>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<74434f$46j4@yuma.ACNS.ColoState.EDU>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 127144,f96ab0f4cbe672b4 X-Google-Attributes: gid127144,public From: John Erickson <jerickso@holly.colostate.edu> Subject: Re: Assignment8 - Using the stack and queue Date: 1998/12/02 Message-ID: <36659D17.89E30BE1@holly.colostate.edu> X-Deja-AN: 417966148 Content-Transfer-Encoding: 7bit References: <74434f$46j4@yuma.ACNS.ColoState.EDU> Content-Type: text/plain; charset=us-ascii Organization: Black Sands Consulting Mime-Version: 1.0 Newsgroups: csu.cs.200