Posts by Clayton A. Alves • 223 points
5 posts
-
0
votes1
answer57
viewsA: Doubt to return arrays on pointers. below is the code I tried, but only returns addresses
Assuming that the input vector will always be ordered and with a " 0" indicating the end of the vector: #include <stdio.h> #include <stdlib.h> int* valores_entre(int* v, int min, int…
-
0
votes1
answer87
viewsA: Does the Flask micro-framework use the Action Based or Component Based architecture?
Flask uses the Action Based architecture. This can be noticed especially when you map each route (endpoint) to a python function. Each route would be an Action. Below an example of "Action"…
-
5
votes3
answers1195
viewsA: PHP + Delphi(Pascal), issue real-time warnings
Another way to implement this feature, which no one has commented on, is through the use of Webhooks. The use of "Polling", that is, consulting the server from time to time (via http query or even…
-
7
votes2
answers1423
viewsA: Javascript - Access variable
When you define a local variable with the same name as a higher scope variable, the local variable overrides access to the larger scope variable. One way around this would be to associate the…
-
0
votes2
answers783
viewsA: How to pass a . sh file as parameter to a C code?
Although your question has become a little vague (due to lack of code example), here is a possible solution. Programs in C language have as argument for their main method main the amount of…