Questions tagged as 'funciones'

1
answer

finalize a function in Android Studio

I have a problem with a function. In fact what I do is read the SMS inbox and when you enter a new text message it is executed. The problem comes from the second time I call the same function because it is not updated but it reads the same messa...
asked by 21.11.2018 / 14:06
1
answer

ajax requests using callbacks [duplicate]

I am developing a web application, basically what I have to do is create components of a form based on the information I collect from a database. var _populate = function (idparametro) { jQuery.ajax({ type: "GET", async:...
asked by 07.04.2016 / 19:10
2
answers

Random Function Properly [closed]

As I can use the function Random in C # using two functions, the first function is the minimum damage of the player, and the second the maximum damage that a player can do, my idea is to use the function Random , calling to both fun...
asked by 20.09.2018 / 17:34
2
answers

show variable php in txt with onclick in button?

How can I put the result in the txt when I click on the button? without submit? thanks in advance for the help <?php function generarCodigos($cantidad=3, $longitud=10, $incluyeNum=true){ $caracteres = "ABCDEFGHIJKLMNOPQ...
asked by 13.09.2018 / 17:20
1
answer

return in exit parameters and in your name? C functions

I am new to programming, and I have a confusion with this topic. I do not understand very well this about the output parameters and what the function returns in its name. I give an example of exercise. "Write a function that receives an array...
asked by 05.09.2018 / 03:22
1
answer

Href with click event to execute function

I wanted to know if somehow it could be done that when I clicked with href, a function would be executed and how it would be (having jquery and js available). I had something like that but it does not work, thank you very much. <a href="fun...
asked by 26.06.2018 / 22:03
1
answer

Error calling a function in c

I have the .c file with the function I want to invoke #include <stdio.h> #include <string.h> #include <stdlib.h> #include "entrada_minishell.h" void imprimir_prompt() { printf("minishell> "); fflush(stdout);...
asked by 02.05.2018 / 12:19
1
answer

Consume jQuery functions from another file

I tell you, I'm trying to make a '' library '' of jquery functions so as not to reuse so much code, and to begin with, I'm trying with the following function. jQuery.fn.soloNumerosDecimales = function () { return this.each(function () {...
asked by 05.03.2018 / 19:30
1
answer

Haskell how to transform a Char list into a Matrix?

My goal is the following: They give me a list of Char, for example: ["++++.++++.++."] What I want to achieve is to separate that list into small lists (put together a matrix) of Whole numbers, where each positive number will represent th...
asked by 24.11.2017 / 20:13
1
answer

How do I get back to the main menu in this program?

Good day, I'm doing a program where I print a type of sales invoice from a warehouse, I have everything done but I would like to know how to go back to the main menu to do the whole process again without closing and opening the program ... Here...
asked by 10.10.2017 / 05:55