2019年4月25日

摘要: 二分查找 /// 二分查找 /// @param arr <#arr description#> /// @param target <#target description#> /// @param n <#n description#> int binarySearch(int *arr, in 阅读全文
posted @ 2019-04-25 14:00 JieFangZhe 阅读(121) 评论(0) 推荐(0)
摘要: /** typedef 表示取别名; STU代表 struct Student 类型; PSTU代表 struct Student * 类型; struct Student 仍然可以继续使用; */ typedef struct Student{ int sid; char name[10]; char gender; }* PSTU, STU; 阅读全文
posted @ 2019-04-25 11:51 JieFangZhe 阅读(97) 评论(0) 推荐(0)
摘要: #include #include #include struct Array { int * pBase; int length; int current; }; void initArray(struct Array * pArray, int length); void showArray(struct Array * pArray); bool is_... 阅读全文
posted @ 2019-04-25 09:49 JieFangZhe 阅读(298) 评论(0) 推荐(0)

导航