码迷,mamicode.com
首页 >  
搜索关键字:operator new    ( 77942个结果
eclipse语言怎么设置为中文
2021-05-30 方法:1、查找语言包下载网址,并复制;2、打开eclipse,点击“help”-“Install New Software”-“Add”;3、在“Location”中粘帖网址,点击“Add”;4、勾选“简体中文包”;5、等待加载完,重启 我们知道Eclipse一个开放源代码的、 ...
分类:编程语言   时间:2021-06-02 17:01:48    阅读次数:0
KNN-简单电影测试程序debug
import numpy as np import operator """ Parameters: 无 returns: group -数据集 labels -分类标签 """ #函数说明:创建数据集 def createDataSet(): #6组二维特征 group = np.array([[ ...
分类:其他好文   时间:2021-06-02 17:00:08    阅读次数:0
Python基础练习--(3)
·数字个数 str=input() cnt=0; for i in range(len(str)): if(str[i].isdigit()): cnt+=1 print(cnt) Caesar Secret str=input("请输入一个字符串:") caesar="" n=input("请输入 ...
分类:编程语言   时间:2021-06-02 16:37:16    阅读次数:0
Linux中的which whereis locate
which which会在PATH环境中搜寻可执行文件 whereis Linux会将系统里面所有的文件都搜集到一个数据库文件中,whereis从这个数据库文件里面寻找文件 locate locate的使用很简单,直接在命令后面输入文件名或者部分名称,就能得到结果。locate和whereis一样, ...
分类:系统相关   时间:2021-06-02 16:12:00    阅读次数:0
ArrayList两个对象之间的赋值
ArrayList list = new ArrayList(); // 第一次扩容 for (int i = 0; i < 10; i++) { list.add(i); } ArrayList list1 = list; for (int i = 0; i < 5; i++) { list1.a ...
分类:其他好文   时间:2021-06-02 16:00:48    阅读次数:0
IP、端口、TCP、UDP、文件上传
1.ip public class TestInetAddress { public static void main(String[] args) { try { //查询本机IP,可以new InetAddress byName = InetAddress.getByName("localhos ...
分类:Web程序   时间:2021-06-02 15:28:12    阅读次数:0
js简单实现拖拽功能
html: <div class="mydiv1"></div> css: .mydiv1 { width: 100px; height: 100px; background: red; position: absolute; } js: let mydiv1 = document.querySel ...
分类:Web程序   时间:2021-06-02 15:25:39    阅读次数:0
springboot利用ConfigurationProperties注解配置数据源无法读取配置信息
出现的问题: 利用ConfigurationProperties注解配置数据源发现读取的数据库配置信息全部为null。 @Bean(name = "pq") @ConfigurationProperties(prefix = "spring.datasource") public DataSourc ...
分类:编程语言   时间:2021-06-02 15:23:34    阅读次数:0
new/malloc的区别
相同点 😃 new/delete 和 malloc/free 都可以动态分配内存和释放内存 delete 和 free 都不能重复释放内存 delete 和 free 都可以释放空指针 不同点 1、new/delete 是C++的运算符,编译时需要加参数,malloc/free 是C语言中的函数, ...
分类:其他好文   时间:2021-06-02 15:04:08    阅读次数:0
Android 11 拍照问题
安卓11有权限要求,以下方法管用 //跳转到相机 private void showCamera() { File fileDir = new File(Environment.getExternalStorageDirectory(),"Pictures"); if (!fileDir.exist ...
分类:移动开发   时间:2021-06-02 14:56:05    阅读次数:0
77942条   上一页 1 ... 27 28 29 30 31 ... 7795 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!