C++: How to search for quoatations using stacks
<p>I have to create a program that reads in a text file and checks for matching parenthesis, brackets, <code>[]</code>, quote symbols, and block comment. If there is an imbalance it returns false, if it is balanced it returns true.</p>

<p>I have done <code>[] () {}</code> and need help making it work for <code>/* */</code>, <code>"  "</code>, and <code>' '</code> where everything inside the single/double quotes and the block comments are ignored. I've tried many things but have been unsuccessful in getting them to work.</p>