Posts by Igor Vargas • 274 points
18 posts
-
0
votes1
answer48
viewsQ: How to get the value of a JSON field
I want to get the strings from inside the field text but they end up returning null. The JSON I get is this:…
-
-2
votes2
answers99
viewsA: Why doesn’t my variable change the value?
Begins the variable minor with the entered value of the user and then compares to find the smallest
-
1
votes1
answer177
viewsA: Discover Winner Game Rooster / Old Game
You need to check if there is a winner for both players. I recommend using functions and then sweep the matrix. Ex: the first function checks if the top row is filled with only "x", in the case of…
canswered Igor Vargas 274 -
1
votes2
answers208
viewsA: Declaration of a global array of C structures
Since you are a beginner I think it is best to use the same parameter, you can get lost to control this global variable. Another tip that I give, research on "structures"(struct) is a simple way to…
-
1
votes2
answers156
viewsA: I can’t get how many students approved to show up
Hello. I redid your code in a simpler way. If you have questions, just ask. insira o código aqui #include <stdio.h> int mediaParcial(){ float notaUm,notaDois,media; int x,cont=0,escolha; do{…
canswered Igor Vargas 274 -
-1
votes3
answers97
viewsA: Why does the first element of the vector come out as zero without having stored this value there?
That line is with an index more. That is 9 elements. for(i=8;i>=0;i--){ printf("\n--------\n%d",numero[i]); } The right thing would be. for(i=8;i>0;i--){ printf("\n--------\n%d",numero[i]); }…
-
1
votes5
answers114
viewsA: Logical error while using If/Else
I did a search. It doesn’t exactly need a calculation if it’s just the check. If you have any questions just ask. #include <stdlib.h> #include <stdio.h> void calcula_triangulo(int A, int…
canswered Igor Vargas 274 -
-2
votes1
answer58
viewsA: Background does not appear [HTML5]
Try to put it on the body. Do this test. If the image appears there is something wrong in the tag style. img src="images/photo.png" alt="Page image not found" width="330" height="202"…
html5answered Igor Vargas 274 -
1
votes3
answers126
viewsA: Formal definition of operations = and ==
"=" Does the assignment. "==" Make the comparison.
-
-2
votes1
answer21
viewsQ: Problem registering an item
Hello there is an error where it does not return to the defined page, but in the url it appears that it enters the page controlProduct that has been defined. The page just turns white. This is the…
phpasked Igor Vargas 274 -
1
votes0
answers438
viewsQ: Interlink a chained list in c
Hello I’m trying to do an exercise where I need to interlink 2 chained lists. But my function is only returning a number only. The function is the intercale(); insira o código aqui #include…
casked Igor Vargas 274 -
0
votes1
answer2163
viewsQ: Ascending Order in a chained list in c
#include <stdio.h> #include <stdlib.h> typedef struct LISTA{ int dado; struct LISTA *prox; }lista; lista *insere(lista *p,…
casked Igor Vargas 274 -
1
votes2
answers412
viewsQ: Remove elements from the end of a list in C
I’m having a problem where my list is removing all the elements and leaving only the last and last. #include <stdio.h> #include <stdlib.h> typedef struct LISTA{ int dado; struct LISTA…
casked Igor Vargas 274 -
1
votes0
answers154
viewsQ: With show even items in a C list
I have a question in this exercise. I tried several ways but I do not know how to take the position of the pointer to use the content in this case. • Describe steps for creating a new element in the…
casked Igor Vargas 274 -
0
votes1
answer452
viewsQ: Cells with vectors in C, is showing the elements that have already been removed
How do I show my vector without the numbers that have been removed? 'Cause when I show him, even if I take a number off the function, he still shows up inside. #include <stdio.h> #include…
-
0
votes2
answers1303
viewsQ: How to validate an email in c
Eai guys. I need to do an e-mail check with these features. Email must have: 3 more characters; an arroba sign (@); another 3 characters or more; followed by a endpoint sign (.); and a set of at…
casked Igor Vargas 274 -
1
votes1
answer457
viewsQ: print a string array
When I do a print on my string matrix a symbol is appearing and not the words. The matrix is located in the void query function. I put all the code because it might be a mistake somewhere else but I…
casked Igor Vargas 274 -
0
votes0
answers70
viewsQ: Doubt about records in C
Hello I have a doubt in this exercise in the last sentence, this asking to make a list but n says it is to put in the record but I am putting the list inside the record to save but n know if this is…
casked Igor Vargas 274