Posts by Julio Faria • 21 points
4 posts
-
0
votes3
answers69
viewsQ: How to ignore other occurrences like this when capturing a snippet of a string?
I need to get just the ID of this line: "21 Julio André 21 Years" Since the ID is at the beginning of the line and is equal to age, the functions I tried to split the strings were Substring() and…
-
0
votes2
answers129
viewsQ: Code does not work and returns no error (Java)
I’m new to Java, and I can’t run this code: package exercicio.pkg4; import java.util.Scanner; public class Exercicio4 { public static void main(String[] args) { Scanner ler = new Scanner(System.in);…
javaasked Julio Faria 21 -
0
votes1
answer38
viewsQ: C code does not show full list
#include<stdio.h> #include<stdlib.h> #include<string.h> #include<locale.h> int main() { struct aluno{ char nome[30]; int n_matricula; char curso[30]; }; struct aluno…
casked Julio Faria 21 -
-1
votes2
answers2004
viewsQ: How to create a string array in C?
My code is giving error in lines 15 and 53 #include<stdio.h> #include<conio.h> #include<locale.h> int main() { setlocale(LC_ALL,"portuguese"); struct datas{ int dia; int mes; int…
casked Julio Faria 21