Skip to main content
0 votes
0 answers
25 views

I have two arrays that won't multiply together, I just get a single zero. I would expect the result to be an array. Is there some behaviour of dynamic arrays that I don't understand here? The arrays ...
Toby Beisly's user avatar
4 votes
3 answers
97 views

I am on a quest to understand the nullable reference type system in C# (well, I guess the non-nullable reference types are the unique part). The mechanics of this particular situation are totally lost ...
ChromaKey's user avatar
4 votes
2 answers
80 views

I am attempting to use a single element of an array, when creating a string message, but it is using both elements, concatenated by a space, whether I use $myArray[0] or $myArray[1]... # Multiple ...
Todd Powers's user avatar
Best practices
1 vote
12 replies
112 views

I've been researching this for a day and I've found a lot of conflicting information on multiple websites. I'm writing a simple test that will allocate and initialize a char** (array of strings, char*...
Maryann's user avatar
  • 39
-4 votes
2 answers
105 views

I am trying to produce a multi-colored cube in perspective, a Minecraft logo, on an HTML canvas. This is part of my code for producing the top face of that cube: for (let i = 0; i < 16; ++i) { ...
Ignacy's user avatar
  • 17
-3 votes
0 answers
90 views

I have this part of my code where I have an array and want to compare it with other constant arrays, to find a match. As I am working with Multi-dimensional arrays, I decided to store these constants ...
grdj's user avatar
  • 1
-3 votes
0 answers
47 views

I have two arrays (one going from 0-49 listing every US state, and another one going from 0-49 listing the US capitals.) and I need to binary search the second array to match a selected US state to ...
Waluigi Apparition's user avatar
4 votes
2 answers
133 views

For background, I am working to create a version of minesweeper that runs in the terminal to become more familiar with coding bigger projects in c. I am coding in VScode, to run on a Linux server (...
Librarian of Stars's user avatar
1 vote
1 answer
51 views

I am doing an assignment on matrices and gradients, where the final answer must be expressed as a row vector. vr = np.array([1, 2, 3]) vrr = np.array([[1, 2, 3]]) Mathematically, a row vector should ...
Louis Chua's user avatar
Advice
0 votes
1 replies
64 views

I have this json data which I need to convert into an object. The json has a parent/child relationship instead of actual children object in the parent object. { "queryType": "tree&...
ads's user avatar
  • 1,743
0 votes
2 answers
127 views

I have a table with data structured like this. Each product ID has a list of element IDs--for each element, there is a dictionary including a list of elements and their assigned IDs. Not every element ...
Tyler Moore's user avatar
Best practices
0 votes
5 replies
91 views

I have an object db that has one field containing SKU's that correspond to another object that contains different venues. db.SKU = [1002,1005,1001,1008,1007]; I then have another object listing the ...
Powl_London's user avatar
Advice
0 votes
1 replies
60 views

So in iOS 26, the search field changed a bit where it can be at the bottom. While other apps have the search in the nav bar, wallet has it in the toolbar, so when it's pressed it changes to a ...
Chefski's user avatar
  • 43
4 votes
2 answers
77 views

I have a search function on my site that takes a text input and searches "documents" for a matching string of text, then displays the matching items in a list. This works perfectly. I just ...
dead-in-a-damn-ditch's user avatar
-8 votes
0 answers
114 views

I need to create an arraylist, that contains an array of objects to act as the rows of a table, like this: ArrayList<Object[]> rows = new ArrayList<>(); each of these Object[] arrays will ...
Luna's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
27879