Interesting questions
-
2
votes2
answers402
viewsOperation to release a circular list
I am in doubt in the implementation of the method of releasing the memory of a circular chained list: void liberarLista() { if(head == NULL) return; //retorna original(NULL); lista *aux, *temp =…
-
0
votes1
answer76
viewsSpotify API: this.state.data.map is not a Function
I am trying to pass the data from the api to a child component, but always giving this error when I type the name of the singer in the input, because I want to fetch every letter typed, not just…
-
1
votes1
answer114
viewsSelecting Specific Lists
I have the following code to return the libraries of my Sharepoint project: function retornarLista() { collList = website.get_lists(); context.load(collList);//, 'Include(TemplateType==109)'…
-
-2
votes1
answer47
viewshow to save data to localStorage with this agenda
THAT AND THE HTML: <!DOCTYPE html> <html lang="pt-BR"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link…
-
-2
votes1
answer71
viewsVector exercise, do I need help?
Question: Read two vectors: R of 5 elements and S of 10 elements. Generate a vector X of 15 elements having 5 first positions containing the elements of R and the last 10 positions, elements of S.…
javaasked 8 years, 10 months ago Julio Souza 1 -
2
votes2
answers756
viewsPossible SHA256 return 128bytes after signing?
I’m using the following code to get my certificate and sign my Cnpjs, but I’m using the SHA256 algorithm, but it’s returning 128bytes. Can anyone tell me what’s wrong? Follows the Code: Dim data =…
-
2
votes1
answer172
viewsSPOJ returns "Wrong answer" to seemingly correct solution
I tried to solve the problem BANCO12 - Bank SPOJ, but when submitting my C++ code, the system returns "wrong answer". Follow my code: ` #include <iostream> using namespace std; int main(){ int…
c++asked 10 years, 1 month ago Felipe Regino 65 -
2
votes1
answer34
viewsConvert Std::vector p/ Std::array implicitly?
How do p/ extend the std::vector so that there is an implicit conversion of std::array for std::vector? Imagine I have this: template <class T, int N> std::array<T, N> vector_to_array…
c++asked 6 years, 3 months ago Daniel Falbel 12,504 -
0
votes0
answers22
viewsApplication of the variable
I visualized a class about variable variable in PHP and I came up with the following question, which is the application of this variable format? if it’s not too much to ask, a simple and practical…
phpasked 7 years, 4 months ago Thalles Rangel 61 -
2
votes3
answers818
views -
1
votes1
answer1174
viewsProblems loading a Datatable in Page Load with Javascript
I’m a beginner with Javascript and I’m having a problem when the Datatable of my Index is loaded. If I open a section, on my Index, and put the JS code inside it, everything works perfectly. @{…
-
1
votes1
answer1258
viewsQuote problems importing data from Excel to Database (Mysql)
I have an excel file with several data, the problem is that apparently there is some data with double quotes and when you upload this data, all the columns become maladjusted and consequently the…
-
1
votes2
answers39
viewsPopular column with created id + date/time
I have a column with the name "code". Is it possible to complete it using the same method as the form? If yes, how can I implement this in my code. Method that receives the form and inserts it into…
-
2
votes3
answers303
viewsConvert date difference to string
I’m calculating in PHP the difference between two datetimes (beginning, end), from a POST, need to fill out a campo(time) in the format(H:i:s) via INSERT in the MYSQL. I get the result of the…
-
0
votes0
answers62
viewsHow to transfer data from a graphical interface to another Java file and receive it later after data processing
Creating a Java project, which has only two files: the first has a InterfaceGrafica, that takes the data that users will enter, being responsible for sending the data to the second file called…
-
4
votes4
answers2570
viewsHow to take the penultimate and antipenultímo item from an array
I have a array that comes from a return of a form and would like to know how to get the penultimate and antepenultimate position of the same in PHP.
phpasked 9 years ago gabrielfalieri 1,231 -
0
votes1
answer278
viewsMongodb - Add documents that have a certain value within an array
Hello, thank you for your attention. If I have left any questions, please let me know. I found a problem that is driving me crazy. I have the following collection: { "_id":…
-
0
votes0
answers45
viewsconvert pixel to cm openGL
I need to change an object to where the mouse is clicked, I’m trying to do with a point to start. I already managed to capture the mouse position but it comes in pixel and I need this value in…
-
5
votes3
answers325
viewsIs it possible to override a base class property?
I have a class Cliente, which is the basis. In it I have the property Celular with Data Annotation "Required". I wonder if it is possible to use a property Cellular in class ClientePersonalizado,…
-
0
votes1
answer193
viewsPython and Django online course creation platform
I’m building a platform for creating online courses, and I’m using Python and Django. I would like to know whether there are already libraries in Django for this purpose. An example I’m using is the…