All Questions

3
answers

Javascript error: "Uncaught TypeError: isTripDay is not a function"

var tripDay = prompt('Porfavor ingrese el numero de dia en el que desea viajar'); while (!isTripDay() || !confirmDay()){ function isTripDay(){ if (tripDay >= 1){ return true; }else{ return false; } } function...
asked on 21.12.2016 / 22:55
3
answers

What happens when I open a FileReader / FileWriter?

I have a question which basically deals with the classes FileWriter and FileReader . When I installed these classes, I understood that a connection is opened between the chosen file and the java program, now, why do I have to close...
asked on 21.02.2016 / 02:46
3
answers

How to access an item within a list?

I am learning to use C ++ templates of stl and this library contains a class list<T> , I understand that it has functions similar to those of vector<T> (If not, please illustrate me) . My question is, how can...
asked on 25.05.2016 / 17:33
4
answers

Is it necessary to modify bootstrap.min.css to add / make prevail my particular styles?

In a project in VS2013 of a website I want to modify some attributes of the design. The changes made to bootstrap.css in the page inspector are displayed, but when they are published, the site does not appear. Scratching I discovered that bootst...
asked on 09.03.2016 / 15:00
1
answer

My question is related to regular expressions in Java [closed]

my problem comes with the following code: private void _loadInfo(String sFile){ InfoCategory categoria = null; String linea; String regex = "^\[\d{3}(-\d{4}){1,2}\]$"; // [XXX-XXXX] o [XXX-XXXX-XXXX] String codCategoria = nul...
asked on 10.02.2018 / 12:16
2
answers

What is the correct way to pass a date as a parameter?

I always have problems with dates when wanting to pass them as a parameter to a SQL statement, I try to use a previous variable, a Convert or a Cast but I never find the correct way. I have the following statement in C # where I...
asked on 18.05.2016 / 17:47
3
answers

Pass null values from C # to sql server

At the moment I am making a form in which I hide some fields in order to fill them when editing. The drawback is that clicking on save generates an error of type La cadena de entrada no tiene el formato correcto. and is because the fie...
asked on 11.05.2018 / 22:53
2
answers

Execute action every day at the same time in C #

I am working on a Console application that must perform some actions at certain times of the day (I clarify that it is not a service because I need the execution of processes) The issue is that I must start an application at a certain time an...
asked on 12.11.2018 / 16:51
2
answers

Hide and show a div when clicking on a radiobutton with javascript

I want to make two RadioButtons work with the same ID but I want to make that when you press deposito show the div1 and when you press ventanilla show the div2 . I can not get it, I hope you can help me do it with java...
asked on 31.03.2016 / 18:17
1
answer

Arrangement of procedures c

I need to create an arrangement of procedures in c , I did it in this way but I get an error: typedef void TFunc; int main{ TFunc funciones[25] = {definicion de mis funciones}; }     
asked on 22.03.2018 / 17:27