如何在帕斯卡中按第一个字符对字符串进行排序?
我相信这个问题已经很清楚了。
那么,如何在 pascal 中按字符串的第一个字符对字符串进行排序?
因为据我所知 pascal 没有本地排序功能,所以应该有一种方法可以将字母转换为数字,然后以某种方式对它们进行排序......无论如何,这只是猜测。
感谢您提前的答复;)
I believe that the question is pretty clear.
So, how to sort strings by their first char in pascal?
Since as far as I know pascal has no native sorting functions there should be a way to to transfer letters in to digits and then sort them some how... Anyhow that is only by guess.
Thanks for the answers in advance ;)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
希望它有帮助;)
Hope it helps ;)