上一页 1 ··· 8 9 10 11 12 13 14 下一页
摘要: vscode 修改快捷键 (回到上一处光标位置,下一处光标位置) 环境 英文版 vscode Ubuntu 14.04 步骤 1)打开快捷键设置界面:File -> Preferences -> Keyboard Shotcuts2)在keyboard shortcut 界面中搜索navigate, 阅读全文
posted @ 2020-10-26 09:50 我家有只江小白 阅读(8282) 评论(0) 推荐(1)
摘要: C 库函数 - strcmp() C 标准库 - <string.h> 描述 C 库函数 int strcmp(const char *str1, const char *str2) 把 str1 所指向的字符串和 str2 所指向的字符串进行比较。 声明 下面是 strcmp() 函数的声明。 i 阅读全文
posted @ 2020-10-22 16:43 我家有只江小白 阅读(444) 评论(0) 推荐(0)
摘要: C 库函数 - calloc() C 标准库 - <stdlib.h> 描述 C 库函数 void *calloc(size_t nitems, size_t size) 分配所需的内存空间,并返回一个指向它的指针。malloc 和 calloc 之间的不同点是,malloc 不会设置内存为零,而 阅读全文
posted @ 2020-10-22 15:26 我家有只江小白 阅读(204) 评论(0) 推荐(0)
摘要: C 库函数 - atol() C 标准库 - <stdlib.h> 描述 C 库函数 long int atol(const char *str) 把参数 str 所指向的字符串转换为一个长整数(类型为 long int 型)。 声明 下面是 atol() 函数的声明。 long int atol( 阅读全文
posted @ 2020-10-19 17:40 我家有只江小白 阅读(159) 评论(0) 推荐(0)
摘要: C 库函数 - snprintf() C 标准库 - <stdio.h> 描述 C 库函数 int snprintf(char *str, size_t size, const char *format, ...) 设将可变参数(...)按照 format 格式化成字符串,并将字符串复制到 str 阅读全文
posted @ 2020-10-19 14:57 我家有只江小白 阅读(164) 评论(0) 推荐(0)
摘要: C 库函数 - memset() C 标准库 - <string.h> 描述 C 库函数 void *memset(void *str, int c, size_t n) 复制字符 c(一个无符号字符)到参数 str 所指向的字符串的前 n 个字符。 声明 下面是 memset() 函数的声明。 v 阅读全文
posted @ 2020-10-19 13:53 我家有只江小白 阅读(127) 评论(0) 推荐(0)
摘要: git配置SSH Key,上传本地代码至github git配置全局的name和email git config --global user.name "name" git config --global user.email "email" name和email是注册github的昵称和邮箱。 g 阅读全文
posted @ 2020-10-19 09:58 我家有只江小白 阅读(198) 评论(0) 推荐(0)
摘要: ofstream是从内存到硬盘, ifstream是从硬盘到内存,其实所谓的流缓冲就是内存空间 阅读全文
posted @ 2020-10-19 09:57 我家有只江小白 阅读(140) 评论(0) 推荐(0)
摘要: git 如何解决The authenticity of host 'github.com (192.30.255.112)' can't be established. 新生成密钥的时候,git clone或者push的时候,经常会报这样的错误: The authenticity of host ' 阅读全文
posted @ 2020-10-19 09:49 我家有只江小白 阅读(4627) 评论(0) 推荐(0)
摘要: 利用Git生成本机SSH Key并添加到GitHub中 本地仓库和github之间是通过SSH加密传输的,所以需要先到github中添加你本机的SSH Key 进行认证。 1、在桌面打开git命令窗口 2、输入“ssh-keygen -t rsa -C youremail@example.com” 阅读全文
posted @ 2020-10-19 09:43 我家有只江小白 阅读(141) 评论(0) 推荐(0)
上一页 1 ··· 8 9 10 11 12 13 14 下一页