Questions tagged as 'arreglos'

1
answer

Doubt about Polymorphism and fixes in C ++

I have a question about the use of arrays with polymorphism, the subject is like this: I have a class Article that inherit two classes Book and CD. class Articulo { protected: string nom; public: Articulo(); virtual voi...
asked by 31.10.2017 / 22:56
1
answer

How to alphabetically order a string array in java

I have a problem when ordering my array string names, try using the Arrays.sort (); but my code did not work here. package mainclass; import java.util.Scanner; public class Personas { public static Scanner leer=new Scanner(System.in); p...
asked by 01.10.2017 / 01:54
1
answer

How can I apply an "if or while" condition to a "struct" struct fix in C? [closed]

I have this problem and in the code that gives us example structures are handled but from what I understand a structure can not be compared, what I want to do is compare if register 1 is greater than 18 then increase a counter and so on for the...
asked by 18.09.2017 / 06:15
1
answer

How do I delete values from an array in c ++?

my doubt is at the moment of eliminating values from an array and going through it does not erase, here is part of my code (I find the position to be eliminated but it does not do it) #include<iostream> #include<stdlib.h> #include&...
asked by 27.09.2017 / 06:30
1
answer

How to store string type data in a java array

Good People I need help, I am working on a project with forms, the program is already done, it is about a questionnaire in which it presents a question (jlabel) and the user chooses one of the options shown by (radiobutton), until the system hit...
asked by 13.08.2017 / 23:44
1
answer

Does not take or print the declared array C

my problem is the following, I do not know why I do not take the matrix as I declare 3x3 take me and print as if it were a common arrangement, I hope you can help me. Thank you very much! int main() { int mat [3][3]; int i, x; pr...
asked by 28.06.2017 / 18:55
1
answer

VB.NET- Enter values in an array

I'm making a one-dimensional array of size N (this value is entered by the user in a textbox) in Visual Basic.net. Now I want to enter the numbers to the arrangement but I can not find anywhere to do it from a textbox or a window appears and go...
asked by 02.05.2017 / 18:21
1
answer

Arrangements in JavaScript

How can I do that in my program the same name can not be added in the name array [x]. so that it is in the same way as the ID, that is, if the same name is registered more than once I get the message "NAME ALREADY REGISTERED" and do not allow me...
asked by 28.07.2017 / 16:12
2
answers

how to get the index of an element in an array of arrays

I have a matrix and I need to find the index of a specific element in a column . I have seen the index of method but only used in normal arrays of strings, ints etc not in arrays of arrays or arrays. for example I have String tablero[]...
asked by 15.10.2017 / 23:16
1
answer

Numbers that are not repeated in JavaScript fixes

I am doing a capture program where a teacher enters your password, if the password has not been registered before then you can register your name but if it is already registered a message will be sent saying "error". However, I'm not very good a...
asked by 19.07.2017 / 04:17