Questions tagged as 'array'

1
answer

Help with fix number in C

I'm trying to do the following program with the use of a one-dimensional array: Create an array of integer type, ask the user how many integer values he will capture, that amount will be the length of the array. Have a menu with the following...
asked by 19.10.2016 / 00:45
1
answer

Solution for PHP Notice: Undefined index: internalid [closed]

I do not understand what is wrong with this code //$expense_categories = explode(chr(13), $row[expense_categories]); $categoryResult=mysqli_query($db,"SELECT category_id,category FROM expense_categories order by category_id"); if(mysqli_num_ro...
asked by 30.03.2017 / 20:25
1
answer

Problems iterating (angular.forEach) in a JSON subarray

I'm trying to access a sub-fix JSON from Angular , but apparently it does not find the nodes of the array. Code: var app = angular.module('feedReddit', []) app.controller('FdRditCtrl', function ($scope, $http) { $scope.posts =...
asked by 31.01.2017 / 15:31
1
answer

Python Opencv + Gdal

I am developing software to calculate NDVI. What is NDVI? is a mathematical calculation with which you can determine the level of vegetation stress NDVI = NIR-RED / NIR + RED This result varies from -1 to 1 I'm using OpenCV as a library for arti...
asked by 01.08.2016 / 06:36
2
answers

average latitudes and longitudes + python

Good morning. I have a vector with 17000 latitudes and another with 17000 lengths. Or if the same, in a vector of ordered parts [lat, lon] The idea would be that all points within an area are unified. That is, suppose we divide the map into c...
asked by 16.06.2016 / 19:41
1
answer

Get data from a string in Python

You can help me with the next problem I have. I have the following chain: Tip:1-Cli:337|Neg:695|Pro:7558|Nom:802|Esq:1|Rub:None|Con:None|Emp:None|Com:1,Tip:1-Cli:337|Neg:695|Pro:7558|Nom:850|Esq:1|Rub:None|Con:None|Emp:None|Com:1,Tip:1-Cli:...
asked by 25.02.2017 / 00:03
1
answer

variables of an array with the same name

I have 2 arrays in Java with different Array names (sender and recipient), but the variables within the arrays are the same (account_number, product_id, external_id, simulation, recipient_sms_notification, sender_sms_notification), when declarin...
asked by 11.05.2016 / 17:52
1
answer

How to get the Index of a vector in C #?

I would like to know how I get the index of my current vector through c #, I already have a structure in code but there I get the value of that index and I do not want that, but I want to obtain its index to know if it is going to perform or not...
asked by 26.09.2016 / 00:11
1
answer

Is it possible to load sounds from a sound matrix into AS3?

I have sounds in the library and I would like to know if it would be possible to name them as 1,2,3 ... and be able to load them as if they were the index of a matrix . They are many and depending on the events I have to load one or the othe...
asked by 05.04.2016 / 12:03
0
answers

How to operate the push and print a Stack with fixes?

It turns out that I want to make batteries with fixes, and I want to run the push and print, but I print it with errors. What corrections can I make? if possible, pop also want to do it, but I have no idea how to do it. Code: Pilas.h #p...
asked by 20.09.2018 / 03:06