11 2020 档案
摘要:ftp服务器 客户端 #include<stdio.h> #include<stdlib.h> #include<string.h> #include<errno.h> #include<sys/socket.h> #include<arpa/inet.h> #include<netinet/in.
阅读全文
摘要:L1 Hello World! #include<iostream> using namespace std; int main() { cout<<"Hello World!"; return 0; } 打印沙漏 #include<stdio.h> #include<math.h> #includ
阅读全文
摘要:第一章 主机序与网络序转换函数 #include<netinet/in.h>uint32_t htonl(uint32_t hosttolong);uint32_t ntohl(uint32_t nettohostlong);uint16_t htons(uint16_t hosttoshort);
阅读全文
摘要:编程实现创建2个新进程,每个新进程负责打印出: (1)“Hello!My father is+父进程号” (2)“I am +子进程号” (3)50以内的质数 #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <s
阅读全文