摘要:
01、 [root@PC1 test]# ls test.c [root@PC1 test]# cat test.c ## 测试c程序 #include <stdio.h> int main(void) { int ay[4][3] = {{2,3,8},{1,4,2},{8,7,3},{6,2,3 阅读全文
摘要:
001、grep 中 -h表示只显示匹配的内容,而不显示匹配的文件 [root@PC1 test]# ls a.txt b.txt [root@PC1 test]# grep "2" * ## 正常情况下有多个文件匹配到内容的时候,会现实匹配的文件名 a.txt:01 02 03 04 a.txt: 阅读全文
摘要:
001、数组的声明 01、数组的声明包括数组元素的类型,数组元素的类型只能是一种。 02、数组的名称;比如 array1 03、数组的大小(长度) [root@PC1 test]# ls test.c [root@PC1 test]# cat test.c ## 测试c程序 #include <st 阅读全文