So I'm supposed to create a stack that checks to see if brackets are balanced; IE, {()} is balanced where as {(}) isn't. I've figured out the algorithm to check to see if they're balanced.
However, the assignment is to take in a char pointer/string (char *something) as a parameter, and I'm just confused how to traverse through each letter.
I feel like this is incredibly basic too, but my brain is melting due to finals coming up so I'm not thinking properly.