Questions tagged as 'funciones'

1
answer

Question about the declaration of strings as data types in functions

main.cpp #include <iostream> #include <fstream> #include <cstdlib> #include "Cliente.h" using namespace std; int main() { ofstream creditoSalida("credito.dat", ios:: binary); if(!creditoSalida){ cerr << " No se p...
asked by 30.08.2017 / 23:53
1
answer

Pass the value of a DropDownList to a JavaScript function

I want to pass the value that was selected from a list to a function when that value changes This is the list in question: <asp:DropDownList ID="DdlLista" runat="server" Width="290px" onchange="Alertando();"></asp:DropDownList&...
asked by 14.07.2017 / 18:00
1
answer

How can I show a separate string array and its values?

I am working with mulestudio and I have a string that is large and I made an arrangement of it since when I call the string to print it or it gives me errors or it shows me all messy and what I want is to show each variable with its value separa...
asked by 06.06.2017 / 16:39
1
answer

General Curry Function

Could someone explain how this function works? I'm studying currying (I do not know what Spanish translation you will have) and in a part of the book it teaches this function as a general curry function (or a general curry function). I find i...
asked by 24.05.2017 / 03:59
1
answer

Execute a User Defined Function (String_SPLIT) from a Stored Procedure. SQL SERVER

I have a table 'interviews' in SQL that stores, among others, NVARCHAR data in the column 'account_id', and data type NTEXT in the column 'answer' which is fed from a series of concatenated questions and answers divided by the symbol '|'. I...
asked by 22.05.2017 / 22:25
1
answer

Remove elements from a two-dimensional array in C #

I am doing a program that simulates a database of a library, which should allow operations such as entering new books, unsubscribing, consulting and others, this is the code I have: using System; using System.Collections.Generic; using System....
asked by 11.03.2017 / 18:45
1
answer

Managing the value of a variable among several functions in Kivy project

Be the following layout of my app: I am looking for when the "Successful question" button is clicked, the variable score = 10 and when the "Failed question" button is clicked, the variable score = -5 For both cases, the purple label also show...
asked by 19.04.2017 / 22:45
3
answers

How to return the value of a variable from a function

I need to return the value of the variables from a function. This is the function, but the variables return them to me empty. function listcert { Get-ChildItem "P:\" -name Write-Host "" [string] $path = Read-Host -Prompt...
asked by 24.01.2017 / 20:02
1
answer

how can I add an if with a button

hi I try to change the value with a button that is already predetermined, I've been trying with an if and with a function of some condition suggène <html> <head> <meta charset="UTF-8"/> <title>prueba<...
asked by 02.01.2019 / 22:45
0
answers

FORMAT function used for numerical data does not work in sqlserver before 2012, alternatives

I'm using the format function to format a number, example: select format(45.123,'###############.00') print 45.12 select format(45.123,'###############.0') print 45.1 There is some way to do this in the previous versions of sq...
asked by 04.01.2019 / 21:33