Posts by Beginner Programmer • 69 points
5 posts
-
2
votes1
answer58
viewsQ: Postgresql build error - Error
I’m trying to run this query in postgresql but it gives compilation error: select can.name as 'name', ( ( (sco.Math 2) + ( sco.specific1 3 ) + ( sco.project_plan * 5 ) /10 ) as "avg" from candidate…
-
2
votes1
answer56
viewsQ: Postgresql build error
Would anyone know if there is an error in the query below: select name, cast(Extract(day from payday) as int) as 'day' from loan; I cannot find the reason for a build error in the URI.…
-
1
votes2
answers181
viewsQ: Problem about discrete mathematics - C++
I have this problem to solve, about the Principle of Casa dos Pombos. However, it is 25% error and has only one entry. For some unknown reason, Rangel only has a pair of socks of each color. Today…
c++asked Beginner Programmer 69 -
1
votes2
answers297
viewsQ: Question about a C++ function that functions as a destructor?
I understood all the code below but in a certain part the person cites something as destructor? What is it? What is it for? That would be the part here: ~Vetor() { delete [] vet_pos; delete [] vet;…
-
-1
votes1
answer481
viewsQ: Largest palindrome in a string? C++
I’m trying to make a code to be able to figure out, for example in phrases like, The blue macaw is beautiful! What’s the big one? in which case the answer would be: macaw I got to the code below but…
c++asked Beginner Programmer 69