All Questions

2
answers

How to reference the id of a body to css?

I'm interested in using the same CSS on several pages. I am trying to assign a CSS style to a body with the id="fondo2" . I use the same syntax as for the input elements. Am I making the reference well? <body id="fondo2"> .....
asked on 30.10.2017 / 20:55
2
answers

How can I verify if a certain MySQL database exists from Java?

I want to verify if my database exists before continuing with the execution of my program, but I do not know where to start, because I have looked at some examples and nothing has worked for me. This is the query that you want to throw: "SE...
asked on 16.10.2017 / 18:43
1
answer

Is it a waste of resources with a single element?

I have a map with another map in it like the following: Map<Integer, Map<String, Double>> However the second map will always have only one element, so I think I'm wasting memory because at the end of the account a map is a list...
asked on 14.03.2017 / 15:56
1
answer

How can I copy the ASCII value to an int in C?

For example, having the following code my intention is to operate to obtain an index number #include <stdio.h> #include <string.h> int main(void) { char mes[2]= {"02"}; int numero; numero = (int)mes; char *strings[]={ "Ene",...
asked on 22.10.2017 / 04:19
2
answers

error in MYSQL query

I'm doing a query which returns empty values when that column has data with those values, this is the query. select * from 'clase' where 'fk_id_familia' = 3 and 'fk_id_familia' = 6 and 'fk_id_familia' = 2 And these are the data that the...
asked on 27.10.2017 / 16:23
1
answer

How can I debug my Windows service?

I created a Windows service in .Net, but for some reason it does not work for me. Is there any way to know what is failing and to debug it?     
asked on 20.10.2017 / 08:56
1
answer

Error reading string with gets ();

I have problems reading a string in c ++. Since the strings do not have a character limit (they are dynamic), I thought I would read them with gets in the following way: #include<iostream> #include<cstdio> using namespace std;...
asked on 15.10.2017 / 00:39
1
answer

Problem with mysql sentence in php

It does not give me any errors but it does not upload me to the database. If I put quotation marks of a '' I get a syntax error in $ name but if I put "" it does not give me an error but it does not upload anything to the database either....
asked on 23.10.2017 / 08:03
2
answers

SQL error There is already an object with the name

Already review this question and it's not really what I'm looking for. You see, I am generating a Sotred Procedure whose query becomes a sales report. The condition is that, when it comes to specific dates, you must select from some tabl...
asked on 26.10.2017 / 17:04
1
answer

Error compiling in c ++

The error in compiling is '' undefined reference to 'calculateArea ()' ''    It is in cpp format and edited with codeblocks. #include <iostream> #include <cmath> using namespace std; int calcularArea(); int main() { float lado1...
asked on 21.10.2017 / 20:51