上一页 1 ··· 8 9 10 11 12 13 下一页
摘要: IN C gcc 5.4.1 c99 gdb 7.11.1 0X01 array bound are fully determined at compile time. #include <stdio.h> #define R 3 #define C 4 void func(int arr[R][C 阅读全文
posted @ 2021-10-20 12:01 ijpq 阅读(18) 评论(0) 推荐(0) 编辑
摘要: Assume that a piece of memory space is requested by malloc type *ptr = (type *) malloc(num * sizeof(element)); the ptr is the first address of the pie 阅读全文
posted @ 2021-10-20 12:01 ijpq 阅读(21) 评论(0) 推荐(0) 编辑
摘要: assume $num is the number what you assign through scanf or fscanf or sscanf and so on. while (fscanf(fileptr, formatstring, &var1, &var2,...)!=$num) { 阅读全文
posted @ 2021-10-20 12:01 ijpq 阅读(33) 评论(0) 推荐(0) 编辑
摘要: find the variable name translate the operator adjacent to the var name with prioirty translate anthor symbol adjacent to the var in the opposite direc 阅读全文
posted @ 2021-10-20 11:55 ijpq 阅读(25) 评论(0) 推荐(0) 编辑
摘要: This tuturial will explain how to use git through a proxy, for example if you are behind a firewall or on a private network. The examples are valid fo 阅读全文
posted @ 2021-10-20 11:55 ijpq 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 0x01 program strategies IT IS WORTHWHILE TO MAP OUT A STRATEGY BEFORE STARTING TO CODE part A decomposition a good decomposition will allow you to iso 阅读全文
posted @ 2021-10-20 11:55 ijpq 阅读(25) 评论(0) 推荐(0) 编辑
摘要: 知乎 阅读全文
posted @ 2021-10-20 11:54 ijpq 阅读(27) 评论(0) 推荐(0) 编辑
摘要: 问题定义 在区间[lo, hi)查找元素e search语义约定: 如果成功,返回e的位置;如果失败,返回不大于e的最大元素的位置 只有版本C符合语义约定 版本A到版本B的改进是为了平衡向左和向右走时的查找次数,使得在最坏情况下查找次数得到改善,而最好情况下版本A还是最好的(不过最好情况一般不会遇到 阅读全文
posted @ 2021-10-20 11:54 ijpq 阅读(67) 评论(0) 推荐(0) 编辑
摘要: source code #include <stdio.h> #include <unordered_map> #include <string> #include <iostream> using namespace std; int main() { // printf("Hello World 阅读全文
posted @ 2021-10-20 11:53 ijpq 阅读(36) 评论(0) 推荐(0) 编辑
摘要: 起因 在看邓俊辉在学堂在线上的数据结构课的时候,发现前序/中序的二叉树迭代遍历讲的都非常好,偏偏不讲后序。看了书上的讲解后也觉得一头雾水,尤其是需要去找左侧最深可见叶子节点那里,我基本需要背诵代码的逻辑,非常痛苦。 所以开始在网上找有没有更好理解的逻辑去写这个后序遍历。 发现 我发现,大多数讲解后序 阅读全文
posted @ 2021-10-20 11:53 ijpq 阅读(169) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 下一页