All Questions

2
answers

MVC: Loading incorrect list

Greetings, help please, when I EDIT some value of the properties of the collection this is not reflected in the returned views, for example, when I try to EDIT the age allows me to do it, but when I save I do not see the change reflected, becaus...
asked on 10.09.2017 / 13:13
1
answer

Copy to a specific character. Excel and visual basic

I am working on a program using VB and EXCEL. Currently I have to copy certain information from one cell to another to generate a report. Everything is working well for now. But I have the following doubt. One of the lines, contains the histo...
asked on 04.09.2017 / 14:51
1
answer

Use startActivity within a View in Kotlin Android

To open a activity from another activity use startActivity(Intent(this, SegundaActivity::class.java) But it's not like referring to the this when I want to launch it when I press a button ... in java I indicate it with Main...
asked on 14.05.2018 / 10:08
1
answer

Validate input data types

#include<stdio.h> #include<limits.h> int main() { int num; printf("%d\n",__INT_MAX__); //2147483647 printf("Introduce un numero: "); scanf("%d",&num); printf("%d",num); return 0; } If I enter mo...
asked on 16.05.2018 / 23:53
1
answer

On the use of smart pointers

Suppose we have the hypothetical case where pointers are used for all types of variables. More exactly, we have the following procedure to read the elements of a one-dimensional array: void leer_arreglo(int *&v) { int *i = new int;...
asked on 13.05.2018 / 15:34
1
answer

Error knowing if a MySQL table is empty

I have the following php code and it does not detect me if there is a record in the table or not and I do not know what it can be: $server = "localhost"; $user = "root"; $pass = ""; $bd = "crypto4all"; //Creamos la conexión $conexion = mysqli...
asked on 14.05.2018 / 18:35
2
answers

Finish a vector of arrays with a while

Basically I want to fill a vector of strings (I thought of doing it with a for), the vector will receive the data through the keyboard (with cin). So far so good but I have no idea how to do to stop the cycle and stop filling the vector at the t...
asked on 12.05.2018 / 17:15
2
answers

Assignment of several data to a single primary key?

Good morning, my question is this, can I give several assignments to a primary key? At this moment I am making a database for an exercise of my university and I wanted to give several assignments to a single primary key but to the time to make t...
asked on 13.05.2018 / 06:15
3
answers

Loops nested in R

I have 3 dataframes that contain the following information: df1 COD LON LAT ALT C037 -289.976 432.165 162 E000 -274.107 430.783 218 C068 -228.623 428.395 596 df2 #So many data by COD as dates (which...
asked on 15.05.2018 / 08:50
1
answer

How to obtain the selected value of a SELECT in Angular 4?

I'm starting in the Angular 4 framework, and I have a question about Select, I need to know what option the user of my Select selects. In my App.component.html I have this code: <select name="" id="cantidad" (change)="capturar()">...
asked on 30.09.2017 / 18:34