模块化,类似于java中的导包,将一些代码封装导出供其他地方调用 export用于规定模块的对外接口,,可导出一切js基本变量,如基本类型变量、函数、数组、对象等 import用于导入其他模块提供的功能 简单示例 user.js var name = "jack" var age = 21 func ...
分类:
其他好文 时间:
2021-06-11 18:23:59
阅读次数:
0
#include<stdio.h> #include<stdlib.h> #include<string.h> #define N 3 // 运行程序输入测试时,可以把N改小一些输入测试 typedef struct student { int id; /*学生学号 */ char name[20] ...
分类:
其他好文 时间:
2021-06-11 18:23:03
阅读次数:
0
#include<stdio.h> #include<stdlib.h> #include<string.h> #define N 3 // 运行程序输入测试时,可以把N改小一些输入测试 typedef struct student { int id; /*学生学号 */ char name[20] ...
分类:
其他好文 时间:
2021-06-11 18:22:43
阅读次数:
0
1 可变数据类型:字典dict、列表list、集合set 2 不可变数据类型:字符串string、元组tuple 3 数字:整数int、小数float、布尔bool 3.1 随机数 3.1.1 默认输出0到1之间的数: 1 import random 2 print(random.random()) ...
分类:
编程语言 时间:
2021-06-11 18:21:34
阅读次数:
0
1. #include<stdio.h>#include<stdlib.h>#include<string.h> #define N 3 // 运行程序输入测试时,可以把N改小一些输入测试 typedef struct student { int id; /*学生学号 */ char name[20 ...
分类:
其他好文 时间:
2021-06-11 18:20:49
阅读次数:
0
#include<stdio.h> #include<stdlib.h> #include<string.h> #define N 4 typedef struct student { int id; /*学生学号 */ char name[20]; /*学生姓名 */ char subject[2 ...
分类:
其他好文 时间:
2021-06-11 18:15:08
阅读次数:
0
#include<stdio.h> #include<stdlib.h> #include<string.h> #define N 3 typedef struct student{ int id; char name[20]; char subject[20]; float perf; float ...
分类:
其他好文 时间:
2021-06-11 18:08:13
阅读次数:
0
#include<stdio.h> #include<stdlib.h> #include<string.h> #define N 3 typedef struct student { int id; char name[20]; char subject[20]; float perf; floa ...
分类:
其他好文 时间:
2021-06-11 18:04:10
阅读次数:
0
docker run -di --name kaka-rabbit -e RABBITMQ_DEFAULT_USER=admin -e RABBITMQ_DEFAULT_PASS=admin -p 15672:15672 -p 5672:5672 -p 25672:25672 -p 61613:61 ...
分类:
其他好文 时间:
2021-06-11 17:46:06
阅读次数:
0
PUT nba { "settings":{ "number_of_shards": 1, "number_of_replicas": 0 }, "mappings":{ "properties":{ "name_cn":{ "type":"text" }, "name_en":{ "type":" ...
分类:
移动开发 时间:
2021-06-11 17:45:22
阅读次数:
0