Interesting questions
-
0
votes1
answer966
views -
3
votes2
answers4105
views.addeventlistener() is not a function
I’m building a script for modals, but an unexpected error happened, the console says: Uncaught Typeerror: loginBtn.addeventlistener is not a Function`", "at modaisGeral (index.html:233)" and "at…
-
3
votes3
answers183
viewsRemove repeated elements using two lists
How would you remove without using collections and while, only with for. I wanted a search structure element by element, because I already know how to remove this way. So I want to use at least two…
-
0
votes1
answer72
viewsSearch for values with priorities
I’m looking for a search and I’m not finding the right logic to filter the results I want. I have a table with all the expiration registrations of certain equipment. My problem is related here: The…
-
0
votes1
answer601
viewsHow to save a json object to mongodb, which is the answer to an API post
I need to save a certain field,from a json object,which comes from the response of an API I called. Save some fields of this response json object,in some fields of my colletion/model on Mongodb also…
-
3
votes3
answers199
viewsA mathematical method for knowing how many carrys in a sum
I saw today on URI (website programming problems) a question in which your program should read two values and say how many carrys (or "will one"s) happen in the sum of them. Ex: 555 + 555 = 3 carrys…
-
0
votes1
answer673
viewsDynamically define text to Jlabels according to text field validation
I tried to add one label for each required component of my screen that is empty (field 01 and field 02), so I created a list of labels with the corresponding amount of fields/components. However,…
-
-1
votes1
answer108
viewsHeroku does not recognize my Django app
I’m starting my studies with Django and created an application called core within the name Django project django1. After finishing, I decided to deploy it to Heroku with the following step by step…
-
4
votes1
answer128
viewsExample Delphi scrollform is not working in version 10.2
I have an App (Android) developed in the version Delphi 10.1, where I used the examples of Scrollform (so that the layout moves together with the android virtual keyboard not to cover the edits),…
-
3
votes1
answer1155
viewsCalculator - operations with decimals
Once again I show up with this calculator here, I’ve been helped a lot with it and it’s almost ready! It’s working all operations perfectly, no mistakes whatsoever, except for one small detail... it…
javaasked 12 years, 6 months ago Gabriel Ozzy 545 -
1
votes1
answer48
viewsVector does not print correctly
Create a program in C++. Have a vector of integers of 10 positions filled by the user. Print the sum of the components of this vector. I made the code below but it does not print the values of the…
-
1
votes1
answer405
viewsDependent selects in PHP
I have two selects, being the second select totally dependent on the first. I would like to perform the filter, but I’m not able to visualize a solution. Could someone help me? <!-- Todas as…
-
0
votes1
answer88
viewsExpo - Invalid hook call inside function components
I was learning Expo, and I needed to create a dynamic list of counters. On my screen I have a button + that adds other squares, and each of these squares has a counter inside them, from what I…
-
0
votes1
answer305
viewsStock Quantity Management C#
I cannot find a solution for stock and sales management. The scenario would be a stock of Auto parts, where I register the entry of a product in the stock with a certain amount. Cod - name - Qtd -…
-
1
votes4
answers316
views"Pure" structs (no pointer) and C error handling
Messing with data structures (filas, pilhas, etc), I reached an impasse in trying to create search functions for these structures. By default, functions that can contain errors return 0 or even -1…
-
0
votes2
answers602
viewsEclipse (java project) - src folder error
I hope you can help me... after I installed everything (all the same: ADT, Eclpse, SDK and ALL Android Updates )), no matter how many projects I create, always error in folder SRC of the eclipse,…
-
0
votes1
answer957
viewsDoubt in exercise in C - reading with fgets
Good evening, I am learning C language through Luis Damas' book. There is an exercise of it that the program is not ending in condition. I’m using linux so I had to change the function gets() for…
-
0
votes2
answers278
viewsCHANGE PATH WINDOWS 7
Hello, to boot my Flutter course, one of the requirements is to change the windows path to 'flutter bin'. The problem is that my PATH already has a value and when I click on "edit", there is no list…
-
2
votes1
answer48
viewsTime redirection
I have an application that I need to change domain app.com.br need to change to app2.com.br however while I do not change the dns I need a temporary redirect I need that when someone enters any path…
-
0
votes0
answers30
viewsWhy does overwriting the elements of a vector take the same time as the first time?
My goal with this test would be to compare the speed performance between these two functions: static inline void VectAssign1(int *const g , const int x , int n ) { // g[ i ] = x for each i = 0 .. n…
c++asked 5 years, 12 months ago Andre Luiz 115