摘要:
(1) 复制一段代码,出现下面报错test_int:19: error: stray '\200' in programtest_int:19: error: stray '\200' in programtest_int:19: error: stray '\343' in programtest 阅读全文
摘要:
线性搜索:遍历,在一个数组中找到某个数的位置(或确认是否存在) #include<stdio.h> int search(int key, int a[], int len){ int ret = -1; for(int i = 0; i<len; i++) { if(key==a[i]) { re 阅读全文