Grid , and test it with a couple of programs . A Grid object will be made up or & quot ; a grid of positions , numbered with rows and columns . Row and column numbering start at 0 . at the top left corner of the grid . A grid object also has a & quot ; mover & quot ;. which can move around to different locations on the grid . Obstacles ( which block the mover ) and other objects ( that can he placed or picked up ) are also available . Here is a sample picture of a Grid object : O . . This is 3 Grid object with 4 rows and 4 columns ( numbered 0 - 3 ). . b . The mover ‗& gt ;' is at . row 1 ' column 2 , facing eeet . . . The obstacle ‗ 4 ― is at row 3 , column 1 . # . . The other item ' 0 ' ie at . row 0 , column 0 The E character indicates that the mover and an item ( 0 ] currently occupy the same position on the grid . Program Details and Requirements 1 ) Grid class Download this starter file : grid starter . h and rename it as grid . 1 :. Your member function prototypes are already given in this file . You will need to add appropriate member data . You will also need to define each of the member functions in the file grid . cpp . You may add Whatever member data you need , but you must store the grid itself as a two-dimensional array . Maximum grid size will be 40 rows and 40 columns . --------------------------------------------------------------------------------------- COSC 2315 Implement aprogram that will use a stack
FOR MORE CLASSES VISIT www . tutorialoutlet . com
Grid , and test it with a couple of programs . A Grid object will be made up or & quot ; a grid of positions , numbered with rows and columns . Row and column numbering start at 0 . at the top left corner of the grid . A grid object also has a & quot ; mover & quot ;. which can move around to different locations on the grid . Obstacles ( which block the mover ) and other objects ( that can he placed or picked up ) are also available . Here is a sample picture of a Grid object : O . . This is 3 Grid object with 4 rows and 4 columns ( numbered 0 - 3 ). . b . The mover ‗& gt ;' is at . row 1 ' column 2 , facing eeet . . . The obstacle ‗ 4 ― is at row 3 , column 1 . # . . The other item ' 0 ' ie at . row 0 , column 0 The E character indicates that the mover and an item ( 0 ] currently occupy the same position on the grid . Program Details and Requirements 1 ) Grid class Download this starter file : grid starter . h and rename it as grid . 1 :. Your member function prototypes are already given in this file . You will need to add appropriate member data . You will also need to define each of the member functions in the file grid . cpp . You may add Whatever member data you need , but you must store the grid itself as a two-dimensional array . Maximum grid size will be 40 rows and 40 columns . --------------------------------------------------------------------------------------- COSC 2315 Implement aprogram that will use a stack
FOR MORE CLASSES VISIT www . tutorialoutlet . com
Implement as program that will use a stack structure to check for correct placement of parentheses in an algebraic expression . Allow the use of ( ) [ ] { } characters as grouping symbols . Make sure that an error is reported for an expression of a form (...]. In addition report other possible parentheses related errors ( too many levels , too many right paren ., too many left paren .). Make sure to use ' silent error reporting ' ( and report any possible errors outside the main scanner loop ).