range-based 'for' loops are not allowed in C++98 mode

使用for语句遍历字符串出现的错误。解决办法参考如下:

codeblock:https://blog.csdn.net/whl_program/article/details/69663613

devc++:https://blog.csdn.net/qq_39696269/article/details/81024071

猜你喜欢

转载自blog.csdn.net/qq_39543472/article/details/82958269