If the end of the input string is found, pop all operators and append them to the result string.
如果到达输入字符串的末尾,弹出所有操作符并添加到结果字符串。
You'll also find some simplifications from C, which include string concatenation, associative array elements, and aggregation operators.
您还看到从 C 语言带来的简化,其中包括字符串连接、关联数组元素和合并操作符。
If the character is a closing parenthesis, pop all operators until you reach an opening parenthesis and append them to the result string.
如果字符是个闭括号(closing parenthesis),在遇见开括号前,弹出所有操作符,然后把它们添加到结果字符串。
应用推荐