Questions tagged as 'matriz'

1
answer

Read a specific sentence from a file and stop at it

I want to store a part of a file in a string : Bruno Mossa Rezende 5 2 7 6 22 22 0.13 8 19 141 0.17 260 2 320 5.42 43 22 6 0.90 0 0 5 From this file I want to store in a string "Bruno Mossa Rezende", I do not want the numbers at the moment...
asked by 20.08.2016 / 03:36
1
answer

Receiving a string from a PHP array to a JavaScript variable?

I have a PHP array with a given string,  Ex .: $matriz[2][2] = "texto"'. Then I want to pass this array to a JavaScript variable. Eg: 'var v_php = "<?php echo $matriz[2][2]; ?>";' When I display the content on the screen, eve...
asked by 28.07.2016 / 05:17
0
answers

Delphi Datamatrix Static Size

I'm working with Data Matrix I'm using Unit DataMatrixBarcode, dmtx. var options:DatamatrixEncodeOptions; options := InitializeDatamatrixEncodeOptions; options.moduleSize := 4; options.marginSize := 10; options.rotate := 0; options.scheme :=...
asked by 18.10.2016 / 15:14
2
answers

Problem with dynamic allocation of two-dimensional arrays in C

I need to make a matrix product where the user must enter the dimensions and terms of the matrices, but the program simply stops working. Here is the code: #include<stdio.h> #include<stdlib.h> int main(int argc, char const *argv[])...
asked by 04.05.2016 / 01:43
2
answers

Find more data after finding nothing related to ID

I am doing a 4x4 array system for a client and am having a difficulty in the following question: The system has to check if the indicated to be checked already has 4 people in the network, if there is then look at the next indicated next, until...
asked by 09.04.2016 / 08:18
1
answer

Copy of Vectors

Good evening! I'm having a question about how to copy a vector. I declare a vector "matrix [a] [j]" and I need to take the arithmetic mean only of the values contained in "array [a]", so I need to make a copy only of the values "[a]" for an a...
asked by 13.04.2016 / 23:49
3
answers

How to generate random arrays without repeated numbers on the same line?

I want to store random numbers from 1 to 60 in an array. When there are equal numbers in the rows, it is to generate another random number. Type, can not be: 11 55 55 43 49 30, but should be 11 55 52 43 49 30. There should be no repetitions....
asked by 27.08.2015 / 06:35
1
answer

Problem with array editing outside main ()

So, guys, I'm in extreme doubt with the code below. I started to study pointers in C a few days ago and I believe it is the solution to my problem, but I do not know how to handle the code. The problem is as follows. In the multiplyMatters ()...
asked by 07.03.2016 / 07:12
3
answers

Largest array number, does not display

This code does not show how the largest element in the array should be positioned correctly. What is the error? #include <stdio.h> #include <stdlib.h> #define lin 4 #define col 4 int main() { int mat[lin][col], i, j, maior=mat[0...
asked by 04.03.2016 / 20:36
1
answer

Java Battleboats

Good morning everyone, I'm doing an exercise in java on the Naval Battle game, I have a lot of code but I'm stuck in the part of validating the position of the boats. The exercise asks that 4 bards of different sizes (2,3,4,5) be created in the...
asked by 03.05.2015 / 15:56