All Questions
Tagged with static-array or arrays 
        
            
                418,181 questions
            
            
            
                -1
            
            votes
        
        
            
                2
            
            answers
        
        
            
                57
            
            views
        
        
            
            
            
        How to set int array pointer within for loop in c
                    The following code is trying to set the test array in the first for loop, but it can't be used in the second for loop.
int main()
{
    int *test[3];
        
    /** Try to set the array value one by ...
                
            
       
        
            
                -1
            
            votes
        
        
            
                0
            
            answers
        
        
            
                53
            
            views
        
        
            
            
            
        JS Array .filter - editing a object of the filtered array does not reflect on the 'parent'? [closed]
                    I have a JS Array as follows:
const cars = [
  {
    make   : "Toyota",
    model  : "Corolla",
    year   : 2022,
    active : "false"
  },
  {
    make   : "Tesla&...
                
            
       
        
            
                0
            
            votes
        
        
            
                0
            
            answers
        
        
            
                21
            
            views
        
        
            
        How Can I Use String of Coordinates Within a Mapbox Feature?
                    I am trying to fetch a comma separated list of coordinates from a database and then show them on a Mapbox GL JS map.
By using the following FeatureCollection, I am able to show a Line between ...
                
            
       
        
            
                0
            
            votes
        
        
            
                1
            
            answer
        
        
            
                36
            
            views
        
        
            
            
        Why does the use of "enlist" in the cross-sectional engine sometimes result in errors and sometimes work normally?
                    I am using the cross-sectional engine and need to store multiple rows of fields as a single array vector. However, I have encountered several issues during the process:
The scenarios I attempted are ...
                
            
       
        
            
                0
            
            votes
        
        
            
                0
            
            answers
        
        
            
                92
            
            views
        
        
            
            
        Upload stalling with particular binary content [closed]
                    I have a simple image editing web app that lets a user add an image, zoom and pan it inside a canvas and then send a dithered and indexed version to an ESP32 run screen. But the file is only saved at ...
                
            
       
        
            
                3
            
            votes
        
        
            
                1
            
            answer
        
        
            
                111
            
            views
        
        
            
            
            
        How to convert a string in an array to variable using the array index in PHP [duplicate]
                    Let's say I have an array_1 containing a string which is a name of another array_2. And now I would like to convert the array index into a variable containing the array_2.
I have the following working ...
                
            
       
        
            
                0
            
            votes
        
        
            
                3
            
            answers
        
        
            
                121
            
            views
        
        
            
            
            
        Array Functions
                    I am currently learning the new array functions in Excel. I've been learning them for a bit, but still learning.
I am trying to create a dynamic YTD type report off some dummy data however I can't ...
                
            
       
        
            
                0
            
            votes
        
        
            
                3
            
            answers
        
        
            
                106
            
            views
        
        
            
        Workaround for #spill! in Excel when creating random integer array of random size (with constraints)?
                    How to construct a random size, random integer array with (exact) target sum value with a single Excel function (or 'best' viable/working solution given the 'known' volatile issue with this sort of ...
                
            
       
        
            
                2
            
            votes
        
        
            
                2
            
            answers
        
        
            
                102
            
            views
        
        
            
        How do you use an array formula to count the number of times SO FAR a value appears in the array up to where the value is in the array?
                    I'm trying to use an array formula in Google Sheets in order to get how many times so far in an array a value has appeared. Specifically, I'm using an "array" of single upper case letters (...
                
            
       
        
            
                5
            
            votes
        
        
            
                0
            
            answers
        
        
            
                349
            
            views
        
        
            
            
            
+50
        Why does a simple C++ const array loop break GCC 11.2 assembly output on Compiler Explorer, but not GCC 15 or MSVC/ICX?
                    I've been investigating the assembly output for a simple C++ loop involving a const array and const size, and I've encountered peculiar version-specific behavior with GCC on Compiler Explorer.
My ...
                
            
       
        
            
                -10
            
            votes
        
        
            
                2
            
            answers
        
        
            
                138
            
            views
        
        
            
            
        Custom method to split a string into a string array not appending the last string to the array in C# [closed]
                    Decided to develop my own method that splits a string in C# into an array of strings using the StringBuilder class. The code is adding all the words to the array except the last word. An example would ...
                
            
       
        
            
                7
            
            votes
        
        
            
                6
            
            answers
        
        
            
                2k
            
            views
        
        
            
            
            
        C program: Use an array outside the scope it was defined in
                    I have some code in which an array of strings is defined in a conditional statement. The array is out of scope where I need it. So I defined another pointer in the outer scope. In the conditional ...
                
            
       
        
            
                0
            
            votes
        
        
            
                0
            
            answers
        
        
            
                46
            
            views
        
        
            
        Vuetify v-autocomplete freezes with large dataset (~53k items) [closed]
                    I have a code like this:
<v-form ref="dataFormSegment" id="form-segment" @submit.prevent="submitHandlerSegment">
  <v-container fluid>
    <v-row justify=&...
                
            
       
        
            
                2
            
            votes
        
        
            
                0
            
            answers
        
        
            
                159
            
            views
        
        
            
            
        How can I disable / warn on std::array::operator[] for some specializations of my type that can implicitly convert to a builtin integral type?
                    For background, I'm building a library (that is allowed to use C++23 in its interface and implementation), and as part of its underlying building blocks, I've defined a bounded integer abstraction ...
                
            
       
        
            
                -4
            
            votes
        
        
            
                1
            
            answer
        
        
            
                94
            
            views
        
        
            
            
            
        NumPy high-dimensional array automatically rearranges after subsetting
                    Today I wanted to use the following command to subset a numpy high-dimensional array, but was surprised to find that the two methods were completely different. I'm very curious why numpy reorders the ...
                
            
       
         
         
         
         
         
         
         
        