strcmp

来自「C实现的MUD,对大家基本入门网络游戏很有帮助!」· 代码 · 共 25 行

TXT
25
字号
     ssssttttrrrrccccmmmmpppp((((3333))))              MMMMuuuuddddOOOOSSSS ((((5555 SSSSeeeepppp 1111999999994444))))               ssssttttrrrrccccmmmmpppp((((3333))))     NNNNAAAAMMMMEEEE          strcmp() - determines the lexical relationship between two          strings.     SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS          int strcmp( string one, string two );     DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN          This implementatin of strcmp() is identical to the one found          in C libraries.  If string one lexically precedes string          two, then strcmp() returns a number less than 0.  If the two          strings have the same value, strcmp() returns 0.  If string          two lexically precedes string one, then strcmp() returns a          number greater than 0.  This efunction is particularly          useful in the compare functions needed by sort_array(3).     SSSSEEEEEEEE AAAALLLLSSSSOOOO          sort_array(3)     Page 1                                          (printed 3/16/95)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?