All Questions

5
answers

Sum of elements in a multidimensional array in javascript [closed]

I have this arrangement and I need to add all the values of maracadores [i] [1] on the one hand and all of the [i] [2] on the other . And what I propose only adds the element where the for is 2 times, then at the end x only adds me 16.75 + 1...
asked on 06.03.2018 / 00:50
3
answers

How to show the number of employees by sex?

I have the following code which shows me the data of N number of employees admitted My question is this: How do I show the number of employees by sex? int main(void){ /*Declara las variables para los ciclo for*/ int i = 0, n = 0...
asked on 29.03.2018 / 15:16
2
answers

How do I make .htaccess for 404?

How do I make a .htaccess so that when it detects a 404 error redirect itself, that is to the index.html. I already have the file and I uploaded it to the page in the route / public_html, but I do not know what to put it in for it to work....
asked on 18.12.2016 / 19:24
3
answers

bring information from the database with angular 2

I am new at angle 2, use a little angular 1x for a university project. My question is with angle 2, can you bring information from the database? For example of a database in MySQL but my question is how. In angular 1 I made a php script th...
asked on 24.07.2016 / 05:48
4
answers

Alternative to system ("PAUSE") c ++

Hi, I am looking for an alternative to system ("PAUSE") because for my program to be completed correctly I usually introduce this sentence. Normally a program in c ++ usually has the following format: #include <iostream> using namespace...
asked on 15.11.2016 / 16:55
3
answers

functions passed by parameters or callback functions

Several questions: In which cases are functions callback used? Can they be used in classes? Do they work in a similar way as in javascript ? How is a function passed by means of a parameter? At the moment of declaring the par...
asked on 23.02.2017 / 03:24
2
answers

Deactivate asp.net mvc controls on the server side

Good morning, I present a small concern, recently I am working on a sales module for the company I work for. What I need is to deactivate two controls when identifying what is a cash sale: Controls: <input type="button" class="btn btn-pr...
asked on 11.09.2018 / 15:21
2
answers

C ++ Calculation of separate rows Matrix

This is my code: #include <iostream> using namespace std; int main() { int c, floor, colum; float rent; cout<<"\n\n\t\t\t\t< Sistema de calculo de arriendos >"<<endl<<endl<<endl; cout<&l...
asked on 21.09.2016 / 18:37
2
answers

How to get the superior parent with JQuery?

How can I capture the parent of containers for example I have this structure <fieldset><!--padre de todos--> <div class="on"> <!--some conten--> </div> <div class="footer"> <!--con este boton necesito...
asked on 29.09.2018 / 19:55
2
answers

Delete two or more blank spaces regular expression

I need your help because I have a regular expression to delete two or more blank spaces, but I have tried in several ways and I can not get the expected result, you can guide me please. Case No. 1 String texto = " 95716 B VO 21513836...
asked on 18.08.2018 / 18:04