prg_string_order()

摘要

对两个字符串进行区分大小写的比较。

语法

prg_string_order (string1, string2)
参数 类型 说明
string1 const char * 待比较的第一个字符串。
string2 const char * 待比较的第二个字符串。

返回类型

int

字符串比较结果:
string1 > string2 时为 -1
string1 = string2 时为 0
string1 < string2 时为 1

头文件

prg_string_funcs.h

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com