#include <stdio.h> const int N=3; int main() { int a[N] = {1, 2, 3}; int i; printf("通过数组名和下标直接访问数组元素:\n"); for(i=0; i<N; i++) printf("%d: %d\n", &a[i] ...
分类:
其他好文 时间:
2021-06-02 13:29:18
阅读次数:
0
NGINX帮助 -h [19:08:40 root@localhost sbin]#nginx -h nginx version: nginx/1.16.1 Usage: nginx [-?hvVtTq] [-s signal] [-c filename] [-p prefix] [-g direc ...
分类:
其他好文 时间:
2021-06-02 13:27:09
阅读次数:
0
Nginx("engine x")是一款是由俄罗斯的程序设计师Igor Sysoev所开发高性能的 Web和 反向代理 服务器,也是一个 IMAP/POP3/SMTP 代理服务器。 在高连接并发的情况下,Nginx是Apache服务器不错的替代品。 一,什么是反向代理: 反向代理服务器架设在服务器端 ...
分类:
Web程序 时间:
2021-06-02 13:07:20
阅读次数:
0
Checking out and building Chromium on Linux https://chromium.googlesource.com/chromium/src/+/refs/heads/main/docs/linux/build_instructions.md ...
分类:
系统相关 时间:
2021-06-02 12:50:21
阅读次数:
0
1、 #include <stdio.h> int str_char(char x[], int key) { int len = 0; while(x[len]) len++; int i; for(i = 0; i < len; i++) { if(x[i] == key) return i; ...
分类:
编程语言 时间:
2021-06-02 12:49:19
阅读次数:
0
python3的divmod()内置函数 首先,函数的名字div 表示地板除法 5//2 = 2; mod表示取余数 5%2=1 所以divmod()函数:接收两个数字类型(非复数)参数,返回一个包含商和余数的元组(a // b, a % b) 举例子: def my_divmod(a: int , ...
分类:
其他好文 时间:
2021-06-02 12:46:20
阅读次数:
0
1、 #include <stdio.h> #define NUMBER 5 int main(void) { char str[NUMBER][128]; int i; for(i = 0; i < NUMBER; i++) { printf("str[%d] = ", i); scanf("%s ...
分类:
编程语言 时间:
2021-06-02 12:43:03
阅读次数:
0
nginx的proxy_pass路径转发规则浅析(末尾/问题) 一 location匹配路径末尾没有 / 此时proxy_pass后面的路径必须拼接location的路径: location /sta { proxy_redirect off; proxy_set_header Host $host ...
分类:
其他好文 时间:
2021-06-02 12:41:13
阅读次数:
0
创建线程 1.继承Thread类,重写run()方法 public class ThreadCreateDemo1 { public static void main(String[] args) { MyThread thread = new MyThread(); thread.start(); ...
分类:
编程语言 时间:
2021-06-02 12:39:26
阅读次数:
0
任务一#include <stdio.h> const int N=3; int main() { int a[N] = {1, 2, 3}; int i; printf("通过数组名和下标直接访问数组元素:\n"); for(i=0; i<N; i++) printf("%d: %d\n", &a ...
分类:
其他好文 时间:
2021-06-02 12:17:51
阅读次数:
0