Results for arrays
I can't seem to figure out what I'm doing wrong, and why the output won't include all of the 0s that would be stored in the struct's array. Any help g...
I would like to know if there is a way to access the "description" property of the objects within the array and use some string cutting method, such a...
I am a student programmer at college and I've only recently started coding in my own time. I have some basic knowledge on how to program but arrays ar...
First and foremost it's been a long time since I've done development, let alone anything with Mongo but I've yet to find a solution to what's likely a...
I am working with an array that is multi-dimensional and contains a nested array. The array has a duplicate and I would like to merge the array so tha...
I have this assignment in my coding class where i need to shift values a certain amount over inside of arrays that are in an array. It's really confus...
this is a strange question for a strange syntax I've found and I can't explain the reason why one would use it: let ranges = []; // field and value a...
here is my input: 3 Programming in C 21.5 Programming in VB 18.5 Programming in Delphi 25.0 and here is my code: #include<stdio.h> #include<s...
Im trying to get my head round this not sure if its even possible this way but just cant seem to get the hang of it. I have and array of object and ea...
I need to print all the unique elements in an array of ints but when I compile my program I get below error. muratakar$ gcc Code.c Code.c:20:39: ...
I am having Array of object like below [ { "HLT": "Infections NEC", "LLT": "Adrenalitis", "...
First I compute a square in the IDLE shell of Python 3.12.0: >>> x = 123456 >>> x**2 15241383936 This agrees with my TI-89. Now I c...
Here are two arrays of the objects I have in js: var arr_A = [ {Name: "Smith", CheckedOut: true}, {Name: "Jane", CheckedOut: t...
If I have this text file keys.txt: key1=val 1 key2=val 2 key3=val 3 I can use this script to load this script to load the values: @echo off setlocal ...
My code outputs the error: [Error] invalid conversion from 'int' to 'int*' [-fpermissive] The offending line is: tao_mang(a[50], 1...
In an assessment, I got the following question: "There are two teams of size N, and the skill values of each player on the team are stored inside an a...
Say I have an array A = np.linspace(1,5,5) A = np.array([1,2,3,4,5]) and I want to tile it 5 times, each time randomising the order, to give me for ex...
I have this in my code: Dim cYear() As Variant I am not so sure what to code next. Should it be like this: cYear = Array("2023","2024&q...
Trying to match row A1:L1 and columns B2:B16,C2:C16,F2:F16,G2:G16,J2:J16,K2:K16 and return their Qtys. The inputs/outputs are in the red/green boxes. ...
I have a numpy array which represents image data, that I made like this import numpy as np array = np.array([[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]...
I have this array: [ ["ik", "p", "I; me", 1], ["pat", "pre", "plus", 1], [&quo...
Trying to run a simple macro to copy/paste some columns from one worksheet to another. It works fine when I only use a few columns but when I add all ...
I've created an array of pointers each of which points to a string as follows. #include <stdio.h> int main() { char *str[4]; for(int i ...
I have multiple sheets starting with BT, on those sheet there are three table ranges I want to copy and paste to one sheet. There is no exact amount o...
How do I undo the most recent local commits in Git?
How can I remove a specific item from an array in JavaScript?
How do I delete a Git branch locally and remotely?
How can I find all files containing a specific text (string) on Linux?
How to find all files containing specific text (string) on Linux?
How do I revert a Git repository to a previous commit?
How do I create an HTML button that acts like a link?
How do I check out a remote Git branch?