码迷,mamicode.com
首页 >  
搜索关键字:array    ( 29504个结果
JavaScript Array对象
一、数组声明 数组是多个变量值的结合,是Array对象的实例,所以可以像对象一样调用方法。 1、创建数组 使用对象的方法创建数组。 <script> ? "use strict"; let array = new Array(1, 2, 3, 4, 5); console.table(array); ...
分类:编程语言   时间:2020-07-29 09:53:19    阅读次数:548
冒泡排序
1、实现思想 2、实现代码 1 #include <stdio.h> 2 void bulubulu_sort(int *array, int len) 3 { 4 int temp; 5 for (int i = 0; i < len - 1; i++) 6 { 7 for (int j = 0; ...
分类:编程语言   时间:2020-07-29 00:47:19    阅读次数:100
C++指针函数;函数指针; 函数参数为数组;函数参数为指针;区分
include<iostream> using namespace std; int* Array() { int *a; a=new int [10]; for(int i=0;i<10;i++) { a[i]=i+1; cout<<a[i]<<" "; } cout<<endl; return ...
分类:编程语言   时间:2020-07-29 00:42:04    阅读次数:83
type
数据类型bollean interger float string array object resource NULL callback/callable 输出 echo print print_r var_dump echo输出*arr不输出object语法错误 print同echo print ...
分类:其他好文   时间:2020-07-28 22:38:38    阅读次数:79
scala数据类型
1.字符串 package com.imooc.bigdata.scala_test object HelloWord { def main(args: Array[String]) { // 定义一个字符串 val 定义的不可变 var 可变 val greeting = "Hello,World ...
分类:其他好文   时间:2020-07-28 17:27:39    阅读次数:89
Leetcode.283 | Move Zeroes(Python)
Leetcode.283 Move Zeroes Given an array nums, write a function to move all 0's to the end of it while maintaining the relative order of the non-zero e ...
分类:编程语言   时间:2020-07-28 14:38:35    阅读次数:91
Java-集合
#一、Java集合框架概述 ●一方面,面向对象语言对事物的体现都是以对象的形式,为了方便对多个对象的操作,就要对对象进行存储。另一方面,使用Array存储对象方面具有一些弊端,而Java集合就像一种容器,可以动态地把多个对象的引用放入容器中。 ?数组在内存存储方面的特点: 数组初始化以后,长度就确定 ...
分类:编程语言   时间:2020-07-28 14:28:31    阅读次数:74
系统管理
引用:linux工具快速教程:https://linuxtools-rst.readthedocs.io/zh_CN/latest/index.html# 1、查看Linux系统版本 $uname -a $lsb_release -a 2、查看Unix系统版本:操作系统版本 $more /etc/r ...
分类:其他好文   时间:2020-07-28 13:54:39    阅读次数:81
js--数组方法
.filter() filter函数是筛选目标数组中符合方法内条件的元素,并返回一个包含所有符合元素的新数组。 filter((item, index, array) => {代码 return Boolen}),函数有三个参数,item为当前循环的元素,index为当前循环的角标,arrar为当前 ...
分类:编程语言   时间:2020-07-28 13:52:32    阅读次数:69
智能营销总部:C语言入门系列之12位运算
模板编程是idea的强大功能,也提高了开发人员的编程效率,比如输入main函数: public static void main(String[] args){} 正常情况下我们需要每个字母挨个输入,但是这样输入太慢了,有了模板编程,我们只需要输入psvm或者main,然后回车,就会输出 publi ...
分类:编程语言   时间:2020-07-28 09:57:26    阅读次数:76
29504条   上一页 1 ... 54 55 56 57 58 ... 2951 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!