The standard and definitive algorithm of matching brace pair

May 6, 2020 at 2:05pm
How is the standard and definitive algorithm of matching brace pairs, as a point at a brace or within brace pair must find correctly the either or both open/close brace?
May 6, 2020 at 2:08pm
Normally you'd just push each '{' symbol onto a stack, and pop off the symbol once you find a '}'.
If, at the end of the file, you have anything left in the stack, or if you try to pop an empty stack, then something is mismatched.
Last edited on May 6, 2020 at 2:08pm
May 7, 2020 at 12:43am
@Ganado I asked you another question about the texture thing please check it out
May 7, 2020 at 1:22am
Bitch please, I don't got all the answers. Stick to your own thread, it's texture UV mapping, do the math.
May 7, 2020 at 1:23am
Geez, have some manners, dude.

Don't post in other people's threads to tell someone something off-topic. Don't ask someone specifically to check out your question in a public forum. Just because someone posted in your thread doesn't entitle you to their follow-up response.
May 7, 2020 at 1:38am
fewdiefie and cblack have quite a lot in common, it seems judging by his previous posts.
Topic archived. No new replies allowed.