- 博客(15)
- 收藏
- 关注
原创 three部署报错Failed to resolve module specifier “three“. Relative references must start with either “/“
还要把引入文件里的three的包的位置重新定位一下 非常麻烦。找到上图报错的html文件的路径。three.js学习之路(4)这个group的改起来简单。
2024-01-17 21:08:43
1340
1
原创 VUE3中数组对象更新视图不更新问题
关键代码 const item = list.value.filter(li=>li.name==='日发电量')找出想要变化的对象然后修改赋值就行。
2024-01-15 21:13:57
1357
1
原创 three.js之路(3)安装three依赖
Threejs官网中文文档:https://threejs.org/docs/index.html#manual/zh/threejs数学几何计算:http://www.webgl3d.cn/pages/001888/threejs基础教程:http://www.webgl3d.cn/pages/aac9ab/webgl基础教程:http://www.webgl3d.cn/pages/9bc0db/blender基础:http://www.webgl3d.cn/pages/00cfc0/
2024-01-14 14:44:18
585
1
原创 编写程序,输入字符串,分别统计字符串中所包含的各个不同元素的字符及其各自字符的数量。如:输入字符串:abcedabcdcd,则输出:a=2 b=2 c=3 d=3 e=1
#include <stdio.h>#include <string.h>#define MAX 1000#define SIZE 256void main(){int strNums[SIZE];char str[MAX];int i,len;for(i=0;i<SIZE;i++)strNums[i]=0;gets(str);len=strlen(str);for(i=0;i<len;i++)strNums[(int)str...
2021-10-05 12:32:09
2452
原创 请编写函数 void fun(int *a,int x,int n),它的功能是:把 x 值插入到 a 数组中,a 数组中的数按从小到大有序,其数目为 n,x 是要插入的数。要求插入后,数组中的数
#include <stdio.h>void fun(int *a,int x,int n){ int i,j; for(i=0;i<n;i++){ if(x<a[i]) break; } for(j=n;j>i;j--) a[j]=a[j-1]; a[i]=x; }int main(){int i,a[11]={2,4,6,8,10,12,14,16,18,20...
2021-10-03 15:17:41
2134
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人