- 博客(7)
- 收藏
- 关注
原创 element ui在.html中引用
element ui可以在webpack中使用,但是模板是.vue,能不能在.html引用呢可见分为三块思路:官网例子在线运行复制代码到test.html文件引用src时加上https,不确定是http还是https验证一下<script src="https://unpkg.com/vue/dist/vue.js"></script><link rel="stylesheet" href="https:////unpkg.com/element-ui@
2021-11-24 20:24:29 218
原创 android导入项目
新版Androidstudio导入项目不需要删文件了。只要提供网络环境就行设置如下:file->settingcheck connection:输一个国外网站检查有没有配置成功看到Androidstudio有下载项,任务管理器代理在占网络
2021-11-22 10:33:07 1657
原创 算法笔记
title: 算法笔记练习date: 2021-03-12 21:56:11tags:categories:C++算法笔记一些习题文章目录第二章2.7 指针引用2.8 结构体2.9 浮点数比较第三章3.1.简单模拟☆1032 挖掘机技术哪家强 (20 分)3.2查找元素3.3图形输出☆1036 跟奥巴马一起编程 (15 分)总结:四舍五入、转换类型1022 D进制的A+B (20 分)3.4 日期处理3.6字符串处理☆1009 说反话 (20 分)第四章4.1排序比较字典序:strcm.
2021-04-17 23:12:12 120
原创 C++STL
文章目录vector:动态数组map:字典qunue:队列set:去重且自动有序stringvector:动态数组通过下标访问,或迭代器#include<bits/stdc++.h>using namespace std;int main(){ vector<int> v; v.push_back(0); v.push_back(1); v.push_back(2); v.pop_back(); v.in
2021-02-15 23:11:47 48
原创 安卓多个媒体在后台播放解决办法
音乐播放退出页面仍在后台播放尝试销毁Activity,用finish()无法解决,首先把媒体播放器设为全局变量,不必销毁Activity,让音乐暂停就可。Intent intent = new Intent(MusicList.this,MusicDetial.class); intent.putExtra("musicId",musicIdList.get(position)); // Log.d("listid", S
2021-01-02 22:24:31 310 2
原创 Java0 txt文件读取
文章目录Code说明:CodeStringBuffer stringBuffer=new StringBuffer();//字符串try { int len=-1; InputStream input=getResources().openRawResource(R.raw.words);//安卓输入流 Reader reader=new InputStreamReader(input); char b[]=new char[1]; while (true){
2020-12-27 16:09:04 50
原创 Binary Number《ACM程序设计》作业
DescriptionFor 2 non-negative integers x and y, f(x, y) is defined as the number of different bits in the binary format of x and y. For example, f(2, 3)=1,f(0, 3)=2, f(5, 10)=4. Now given 2 sets of n...
2020-04-10 19:59:14 80
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人