How do I shorten a 3D array?
              in 
             Programming Questions 
              •  
              2 years ago    
            
 
           
             Hi,
            
             
            
            
             
            
            
             
            
            
             
            
            
             
            
            
             
            
            
             
            
            
             
            
            
             
              
             
             
              
             
             
              
             
             
              
             
             
              
             
             
           
 
            
           
             I have a large integer array, words[][][3],
            
            
             It is used to store co-ordinates for text that is kept in a separate string array.
            
            
             The first level, words[], is for each sentence,
            
            
             The second level, words[][] is for each word,
            
            
             The third level words[][][3] contains the co-ordinates data
            
            
             I need to remove a set of co-ordinates at the second level of the array, in other words I thought if i did
            
            
             words[id] = shorten(words[id]);
            
            
             I would able to remove the end array of data at the second level.
            
            
             But I just get 
            
            
              "cannot convert from Object to int[][]"
             
             
              How do I shorten a multi-dimensional array like this? 
             
              
              
              1  
            
 
            
 
 
          