文件名称:OS exercise 1
介绍说明--下载内容均来自于网络,请自行研究使用
编写一个从标准输入中读取字符串的程序。所有字符串都不包含0字节字符,并以\ n换行符终止。最后一行输入可能不会被换行符终止。读取所有字符串后,应根据libc提供的strcmp函数的顺序对这些字符串进行排序。排除所有字符串后,应按新顺序将这些字符串打印到STDOUT。在将字符串写入STDOUT时,每个字符串应以\ n换行符终止。(Write a program that reads string from the standard input. All strings will contain no 0-byte characters and will be terminated by a \n newline. The last line of input might not be terminated by a newline character. After reading all strings, these strings should be sorted according of the order of the strcmp function as provided by libc. After all strings have been sorted, these string should be printed to STDOUT in the new order. Every string should be terminated by a \n newline character when writing it to STDOUT.)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
文件名 | 大小 | 更新时间 |
---|---|---|
OS exercise 1 | 0 | 2017-12-08 |
OS exercise 1\sort_advanced | 0 | 2017-12-08 |
OS exercise 1\sort_advanced\sort.c | 1251 | 2017-12-08 |
__MACOSX | 0 | 2018-07-20 |
__MACOSX\OS exercise 1 | 0 | 2018-07-20 |
__MACOSX\OS exercise 1\sort_advanced | 0 | 2018-07-20 |
__MACOSX\OS exercise 1\sort_advanced\._sort.c | 212 | 2017-12-08 |
__MACOSX\OS exercise 1\._sort_advanced | 212 | 2017-12-08 |
OS exercise 1\linked_list | 0 | 2017-12-08 |
OS exercise 1\linked_list\linkedlist.h | 2427 | 2017-12-08 |
__MACOSX\OS exercise 1\linked_list | 0 | 2018-07-20 |
__MACOSX\OS exercise 1\linked_list\._linkedlist.h | 212 | 2017-12-08 |
OS exercise 1\linked_list\linkedlist.c | 3319 | 2017-12-08 |
__MACOSX\OS exercise 1\linked_list\._linkedlist.c | 212 | 2017-12-08 |
__MACOSX\OS exercise 1\._linked_list | 212 | 2017-12-08 |
OS exercise 1\sort_simple | 0 | 2017-12-08 |
OS exercise 1\sort_simple\sort.c | 1251 | 2017-12-08 |
__MACOSX\OS exercise 1\sort_simple | 0 | 2018-07-20 |
__MACOSX\OS exercise 1\sort_simple\._sort.c | 212 | 2017-12-08 |
__MACOSX\OS exercise 1\._sort_simple | 212 | 2017-12-08 |