摘要: https://www.jianshu.com/p/7c836f2d5c66 阅读全文
posted @ 2020-08-20 14:19 阿拉灯神丁0 阅读(126) 评论(0) 推荐(0)
摘要: git 删除远程仓库文件 具体参照上面的文章。 一、远程删除云上文件的方法 具体操作步骤如下: 预览将要删除的文件 git rm -r -n --cached 文件/文件夹名称 加上 -n 这个参数,执行命令时,是不会删除任何文件,而是展示此命令要删除的文件列表预览。 确定无误后删除文件 git r 阅读全文
posted @ 2020-08-20 13:30 阿拉灯神丁0 阅读(465) 评论(0) 推荐(0)
摘要: 起因:由于在《C与指针》153页看到这么一个定义 char *message2 = "Hello"; 这种定义早就想尝试了,在看到书上这么写后,就进行了如下代码 #include <iostream> #include <cstring> #include <cstdio> using namesp 阅读全文
posted @ 2020-08-20 12:55 阿拉灯神丁0 阅读(319) 评论(0) 推荐(0)
摘要: 所有的进制的计算放到计算机内部都是二进制的计算,而二进制无非 0 和 1; 0011 和 0101 的和为 1000(十进制8) 1、得到他们的进位制 这里只要满足两个对应位为1就可以进位,对应位为 0 或其他 0 1 组合不用进位 0 0 1 1 & 0 1 0 1 ———————— 0 0 0 阅读全文
posted @ 2020-08-19 23:05 阿拉灯神丁0 阅读(454) 评论(0) 推荐(0)
摘要: 背景 需要将红框内文件删除 第一步: git pull origin master 将远程仓库的里面的项目拉取下来 其中: `origin` is the default name for the shared repo `master` is the default name of the mai 阅读全文
posted @ 2020-08-19 10:19 阿拉灯神丁0 阅读(203) 评论(0) 推荐(0)
摘要: 1、两数相换 1 #include <stdio.h> 2 3 void exchang(int *, int *); 4 5 6 int main() 7 { 8 int a, b; 9 scanf("%d,%d",&a,&b); 10 printf("交换前:a = %d, b = %d\n", 阅读全文
posted @ 2020-08-17 13:08 阿拉灯神丁0 阅读(133) 评论(0) 推荐(0)
摘要: release(software development) A release is the distribution of the final version of an application. A software release may be either public or private 阅读全文
posted @ 2020-08-17 13:06 阿拉灯神丁0 阅读(98) 评论(0) 推荐(0)
摘要: 2.7.11 如果对list.c修改,那么只运行 cc -c list.c 如果对list.h做了修改,那么需要对包含list.h的c源文件进行重新编译 cc -c list.c table.c main.c 2.8 阅读全文
posted @ 2020-08-16 17:39 阿拉灯神丁0 阅读(146) 评论(0) 推荐(0)
摘要: https://wiki.sei.cmu.edu/confluence/display/c/INT32-C.+Ensure+that+operations+on+signed+integers+do+not+result+in+overflow 阅读全文
posted @ 2020-08-15 17:21 阿拉灯神丁0 阅读(235) 评论(0) 推荐(0)
摘要: int m, n; unsigned int s; s = m + n 这里有两个错误 1)有符号转无符号 2)整型溢出 这里主要说有符号转无符号 一般的都认为 m , n都强制转换为 无符号数,这是错误的!!! 这里 m, n依然是无符号的,m + n的结果也是无符号的,然后再把这个结果转成 un 阅读全文
posted @ 2020-08-15 16:43 阿拉灯神丁0 阅读(275) 评论(0) 推荐(0)
点击右上角即可分享
微信分享提示