What do you want to save?
Add Code snippet
New code examples
-
VBA 2022-01-29 09:46:38
excel vba create an array from a range
v = [a1:b20] 'If v is dimensioned as a variant then he above creates a 2d array, '20 rows high by 2 columns wide and those 40 array elements contain 'the values from the specified range. 'The square brackets are shorthand notation. Another way to code ... Add solution -
C 2022-01-26 04:01:05
c shift array left
#include<stdio.h> void main() { int i,n,a[100],temp; printf("Enter the number of elements:\n"); scanf("%d",&n); pr... Add solution -
Java 2021-11-21 21:20:11
how to put array in array list stack overflow
// Declare it List<Integer>[] array = new List<Integer>[5]; // Put something into an array element array[3] = new ArrayList<Integer>(); // Access an element -- it's a List List<Integer> list = array[3]; Integer x = list.g... Add solution -
C++ 2021-11-21 05:47:22
how to get the largest number in a c++ array
#include <iostream> using namespace std; int main(){ //n is the number of elements in the array int n, largest; int num[50]; cout<<"Enter number of elements you want to enter: "; cin>>n; /* Loop runs from ... Add solution -
Python 2021-11-17 22:50:11
long arrays storing in file python
# long arrays can be stored in csv files far more efficiently import numpy as np import csv # uploading arrays in a csv file arr1 = [i for i in range(500)] arr2 = [i for i in range(1000)] arr3 = [i for i in range(2000)] # you can write('w') or append('a'... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5