摘要: 在学习过程中敲如下的一段代码: public class example4{ public static void main(String[] args){ int n=9; while(n>6){ System.out.println("n = "+n); n--; } } } 文件名为 exam 阅读全文
posted @ 2021-03-09 11:38 Biile 阅读(2431) 评论(0) 推荐(0) 编辑
摘要: 计算机中32位int类型变量的范围,其中int类型是带符号整数。 正数在计算机中表示为原码,最高位是符号位: 1的原码为0000 0000 0000 0000 0000 0000 0000 0001 2147483647的原码为0111 1111 1111 1111 1111 1111 1111 1 阅读全文
posted @ 2020-12-01 15:08 Biile 阅读(4796) 评论(0) 推荐(1) 编辑
摘要: 描述 C 库函数void* malloc(size_t size) 分配所需的空间,并返回一个指向它的指针。 声明 void* malloc(size_t size) 参数 size -- 内存块的大小,以字节为单位。 返回值 函数返回一个指针,指向已分配大小的内存。 如果请求失败,则返回NULL。 阅读全文
posted @ 2020-12-01 14:54 Biile 阅读(106) 评论(0) 推荐(0) 编辑
摘要: Secure Shell(SSH)是用于客户端和服务器之间安全连接的网络协议。服务器与客户端之间的每次交互均被加密。 本教程说明了如何在Ubuntu计算机上启用SSH。 启用S​​SH将允许您远程连接到系统并执行管理任务。您还可以通过scp和sftp安全地传输文件。 在Ubuntu上启用SSH 默认 阅读全文
posted @ 2020-10-11 15:50 Biile 阅读(43) 评论(0) 推荐(0) 编辑
摘要: 输入sudo apt update时出现如下情况: 解决方法 1. 打开终端,进入etc/apt/sources.list.d cd /etc/apt/sources.list.d 2. 删除对应文件 * 输入ls查看文件 * 输入sudo rm noobslab-ubuntu-macbuntu-f 阅读全文
posted @ 2020-10-11 15:21 Biile 阅读(4474) 评论(0) 推荐(0) 编辑