文件名称:string_process
下载
别用迅雷、360浏览器下载。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
介绍说明--下载内容均来自于网络,请自行研究使用
大学作业,用GCC编写的C语言程序。string处理系统。用于对string赋值,string合并和其他功能。如输入:
set one "The cat"
set two "sat on the mat"
set sentence one + SPACE + two
append sentence " by itself."
print sentence
printwordcount sentence
printwords sentence
printlength sentence
list
exit
得到如下结果:
The cat sat on the mat by itself.
Wordcount is: 8
Words are:
The
cat
sat
on
the
mat
by
itself.
Length is: 33
Identifier list (3):
one: "The cat"
two: "sat on the mat"
sentence: "The cat sat on the mat by itself."
-University of operations, prepared by the GCC using C language program. String processing system. Assignment for the right string, string mergers and other functions. If input : set one, "The cat" set two "sat on the mat" set sent ence one SPACE two append sentence "by itself." print print sentence printwordcount sentence words sentence printlength sentence exit list The results are as follows : The cat sat on the mat by itself. Wordcount is : 8 Words are : The cat sat on the mat by itself. Length is : 33 Identifier list (3) : one : "The cat" two : "sat on the mat" sentence : "The cat sat on the mat by itself."
set one "The cat"
set two "sat on the mat"
set sentence one + SPACE + two
append sentence " by itself."
print sentence
printwordcount sentence
printwords sentence
printlength sentence
list
exit
得到如下结果:
The cat sat on the mat by itself.
Wordcount is: 8
Words are:
The
cat
sat
on
the
mat
by
itself.
Length is: 33
Identifier list (3):
one: "The cat"
two: "sat on the mat"
sentence: "The cat sat on the mat by itself."
-University of operations, prepared by the GCC using C language program. String processing system. Assignment for the right string, string mergers and other functions. If input : set one, "The cat" set two "sat on the mat" set sent ence one SPACE two append sentence "by itself." print print sentence printwordcount sentence words sentence printlength sentence exit list The results are as follows : The cat sat on the mat by itself. Wordcount is : 8 Words are : The cat sat on the mat by itself. Length is : 33 Identifier list (3) : one : "The cat" two : "sat on the mat" sentence : "The cat sat on the mat by itself."
(系统自动生成,下载前可以参看下载内容)
下载文件列表
string.c