I really need help with this program, i just dont really know how to start it, theres 2 programs and i just am not sure what it is i have to do in either program.
1) Write a program using a stack that will check an equation to make sure that parentheses “(), brackets “[]} and braces “{}” match and are nested correctly. The equation should be entered in an edit box and then be checked when a “Check Parentheses” button is clicked. If a miss match is found, display an error by calling MessageBox(“Error message”) and terminate. If there are too many left characters or right characters, display a MessageBox and terminate. You do not have to rewrite the stack definitions or functions; just reference them as written above or from what we defined in class.
2) Write a program using recursion that will check an equation to make sure that parentheses “(), brackets “[]} and braces “{}” match and are nested correctly. The equation should be entered in an edit box and then be checked when a “Check Parentheses” button is clicked. If a miss match is found, display an error by calling MessageBox(“Error message”) and terminate. If there are too many left characters or right characters, display a MessageBox and terminate. You do not have to rewrite the stack definitions or functions; just reference them as written above or from what we defined in class.
