Interesting questions
-
-1
votes2
answers325
viewsAdd records from a field and display in PHP (values have R$ in front)
Hello, I’m trying to sum up some values using the SUM and is returning 0. The fields I will use: category month value (want to add this) I want to add the valor of all records of each category and…
-
10
votes1
answer766
viewsTo learn C++ is it necessary to learn C?
In case I want to learn about C++ I need to learn C before or they are different?
-
11
votes2
answers3208
viewsDifferences and use of Strings vs. Charsequence
Many methods in Java expect parameters CharSequence, but the code runs normally when I pass a String without conversion, for example: String mensagem = intent.getStringExtra(MainActivity.MENSAGEM);…
-
4
votes1
answer519
viewsHow to measure the performance and costs (processing and memory) of a frontend?
I am working on a project that uses a lot of Javascript (ecmascript-6, jQuery), Html5, CSS and would like to have some way to measure the performance, the consumption of processing and the…
-
4
votes2
answers372
viewsHow to show 2 rows in Listbox
It’s a simple question, but I did some research, and I couldn’t find anything specific to my case. The code below corresponds to searching for data in a table, but when there is more than 1…
-
0
votes1
answer248
viewsUpload with jQuery
I have this code: $(document).ready(function(e) { $("form").on("submit", function() { $.post ("upload.php", { fotos : $("input[type=file]") }, function(retorno){ alert(retorno) } ); return false;…
-
5
votes2
answers194
viewsWindows Universal Apps C++ vs C#
What’s the difference between C# and C++ to develop universal apps? I saw that in the templates of Visual Studio 2015 for C++ there is a group Cross Plataform with app templates for android and Ios.…
-
0
votes1
answer697
viewsHow to find the highest value of a matrix?
Well, I have a 3x4 matrix and I want to know how to develop a python code to get the highest value of this matrix. My code made so far was this: LINHAS = 3 COLUNAS = 4 LINHA_ MatrizM = [] for i in…
-
0
votes1
answer136
viewsPass array from one Uitableview to another Uitableview
Talk guys! I’m having a hard time getting the value of a array in a uitableview and move on uitableview. No error appears, but do not print anything on the console when accessing the next…
-
0
votes0
answers30
viewsC - Where am I wrong? [Error] Id returned 1 Exit status
I’m making a code that lists the amount of customers, the type of fuel that each of us fueled, and shows me the percentage of customers who filled each fuel. It’s something very simple, since I’m…
casked 5 years, 11 months ago Gabriel Vitor 11 -
0
votes1
answer104
viewsMerge XLS (JAVA) files
I have several files . xls with 1 sheet each, I would like to merge all sheets into a single file with several sheets.
javaasked 8 years, 9 months ago Rodrigo de Bastos 11 -
-1
votes1
answer59
viewsSelects with client-side nodejs+mysql
I’m new to nodejs, I’ve always used php with mysql and I’m migrating to Node but I have some problems, make the Node connect in the database works perfectly however I get no success when trying to…
-
0
votes1
answer61
viewsProblem with reading file C language
Good evening guys. So I’m doing a two-step assembler, so I have to upload a file in the format. a and assemble a file in the format . mif, only when I make the first step to save the addresses of…
-
2
votes2
answers695
viewsHow to apply a *ngFor to an array of objects in Angular where the name varies?
I have the following array called dadosRelatorio that I need to iterate in my template, that array I get through a request from my backend. [{"id": 1, "name": "a", "class":[{ "Inglês":[{ "id": 1,…
-
0
votes1
answer177
viewsI learned to pass a vector as parameter, I would like to change and return the vector (vector_y1) to main, is there any way to do it without allocating? Please
#include <stdio.h> #include <stdlib.h> #include <locale.h> int vetor_y1(); int main(){ setlocale(LC_ALL, "Portuguese"); int i,j; printf("Inf. o…
casked 9 years ago Braian Freitas 159 -
0
votes1
answer380
viewstraverse python int lists by skipping consecutive numbers
Guys, I’m trying to eliminate consecutive numbers in a list of integers. When the list is for example 1,2,3,5,6,7,8,9... it show: 1-3, 5-9 I tried many ways and I arrived at that code: def…
python-3.xasked 7 years, 5 months ago Jane 1 -
0
votes0
answers82
viewsDisplay items of a particular ID using angular GET
I’m making a very basic forum where the user type the title, subject and theme description, and this is sent to Mongo (I’m also using Postman), with the help of the people from here on another…
-
4
votes1
answer365
viewsProblems with connection to the MS Acces bank
Staff I developed a web application whose database is MS Access, well, when the user logs in I send the data by ajax to the java class to do the login and password validation, the problem is that…
-
0
votes1
answer33
viewsadd dimensional items to the array
How can I add items to the array this way: array_push($arr, $end[0] => $end[1]); did not want to add a new array within the existing one, but rather to add new items in the $key style =>…
phpasked 11 years, 6 months ago Vinícius Lara 3,750 -
1
votes1
answer84
viewsHow to discover all the objects in a Joystick?
I am compiling a project for Win32 using the Directx Directinput library to manage Joysticks. I tried to successfully identify if any Joystick is connected through the enumeration: uses Classes,…