string 里面的函数isdigit(),可以判断是不是数字。 或者,采用type(1)==int。
Powered by: 博客园 Copyright © 2024 xxxxxxxx1x2xxxxxxx Powered by .NET 8.0 on Kubernetes