All Questions

1
answer

Will not let me return true or false

I have to return true or false , but I get an error when I create the variable bool. How could I do? #include<stdio.h> main(){ int z[50], n, i, suma=0; bool verd = true; bool fals = false; printf("Ingres...
asked on 21.10.2016 / 21:46
1
answer

How to deserialize XML in C #

I am making an addendum for an XML, I go through the file with a split but I have heard that good practice would be to deserialize. How do I go through the xml and transform it into an object to manipulate it?     
asked on 18.10.2016 / 17:17
1
answer

Show only the first image in template in Django

I have two models: the first Property model and the second model Property Image: Class Property(models.model): title = models.CharField() Class PropertyImage(models.model): property = modelos.Foreignkey(Property, related_name='images...
asked on 16.10.2016 / 22:26
1
answer

How to pass data obtained from js to an input of html?

Well my question for some will be basic but it turns out that I am doing a program that increases a button pressed, all right up to here, the problem is that    I want that increment to be printed in an html input since this   I'm doing it wi...
asked on 01.10.2018 / 03:08
1
answer

how to tell part of an arraylist's content

What I want is to count the number of workers who have a certain type of char  such as those that are of type 'P' and those that are of type 'R' List<Trabajador> trabajadores = new ArrayList<Trabajador>(); trabajadores.ad...
asked on 22.10.2016 / 01:29
1
answer

Set DateTimePicker start date always Monday C #

I am developing a Windows Forms application in C #. I have a DateTimePicker that I will call dtp1 . It happens that what I need is that this dtp1 always have the date on Monday of the current week. That is, If today...
asked on 06.10.2016 / 22:55
1
answer

Stack of batteries in java

I have several final projects in the subject Data Structure. In all I'm doing well, but in this specific, for more than I try, I can not find the solution. The problem proposes the following:    Stack of pilitas: The elements of ED PILITA...
asked on 26.10.2016 / 01:33
1
answer

Problems with fscanf in C

Good evening, I have a problem using fscanf to read some data from an input file, the problem is that by no means read the file, this is the snippet of code FILE *infile = NULL; FILE *outfile=NULL; infile = fopen("mtbank.in", "r"); outfil...
asked on 01.10.2016 / 07:40
3
answers

How to know if a page receives a post

On a page .aspx ( detail_page.aspx ) I have a code like this, now lower add an HTML form with action to the same page. How can I know if the page is receiving the post or NOT? The goal is if you receive the post execute a code and if you d...
asked on 30.09.2016 / 12:07
1
answer

Navigating a JSON

I want to take the information of this json ( link ) and show them in an HTML and show me only the data of the team that it has as clantag TRCIO, until now I have managed to show me the data, but it shows me those of all the equipment. How could...
asked on 05.10.2016 / 13:38