200字范文,内容丰富有趣,生活中的好帮手!
200字范文 > 二维字符数组转字符串c语言 [求助] 怎样转换一个字符二维数组到一维数组~~~...

二维字符数组转字符串c语言 [求助] 怎样转换一个字符二维数组到一维数组~~~...

时间:2021-08-11 16:46:59

相关推荐

二维字符数组转字符串c语言 [求助] 怎样转换一个字符二维数组到一维数组~~~...

该楼层疑似违规已被系统折叠隐藏此楼查看此楼

怎样转换下面的二维数组到一维数组,然后输入数字,然后显示出输入数字在数组中相对应的词

charcommonWords[13][60]=

{"Cisastructured,proceduralprogramming",

"languagethathasbeenwidelyusedbothfor",

"operatingsystemsandapplicationsandthathas",

"hadawidefollowingintheacademiccommunity.",

"ManyversionsofUnix-basedoperatingsystemsare",

"writteninC.Withtheincreasingpopularityof",

"object-orientedprogramming,Cisbeingrapidly",

"replacedas"the"programminglanguagebyC++,",

"asupersetoftheClanguagethatusesan",

"entirelydifferentsetofprogrammingconcepts,",

"andbyJava,alanguagesimilartobutsimpler",

"thanC++,thatwasdesignedforusein",

"distributednetworks."

};

Enterthenumber:5

Wordatthatindex:programming

请各位帮帮我,我写出来的程序总是显示乱码,要不就出错,我都郁闷了。。。

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。