Posts by Darlam Alves • 33 points
3 posts
-
0
votes1
answer44
viewsQ: How to write a function that returns appropriate values of a date (day, month and year) so that these are assigned to struct-type variables?
I wanted to develop a function responsible for analyzing the format of the date inserted, however the appropriate values would have to be returned to another function responsible for registering…
-
2
votes1
answer44
viewsQ: How do I return a string from a char function? The returned value is NULL
I am having problems with creating a char function that returns a string typed by the user. I call her in a registration method and try to play for the struct variable. cadastrarLocacaoNome();…
-
-1
votes1
answer65
viewsA: How to pass a char vector * (*) to a function?
So, first you need to understand that the char variable type is responsible for storing one character at a time. And another, when working with vector remember that the first position is always the…