Posts by Alex • 561 points
11 posts
-
0
votes1
answer29
viewsQ: Is it possible to synchronize code repositories instanttaneously?
For example: change my code on github and my import into gitlab from that code, be updated according to my changes on github. As if it were a backup code, which updates instantaneously. (In the case…
-
0
votes1
answer189
viewsQ: Check if typed string is in email format
Guys, I need a little help to check if the email you typed ends with "@usp.br". Here’s the code I’ve tried: /* pega o tamanho total do email digitado */ int tamanho = strlen(email); /* a partir do…
-
27
votes5
answers19389
viewsQ: Differences and advantages between Github and Gitlab
Today I became aware about Gitlab, I saw that many major companies, like NASA and Spacex, use it. I would like to know what are his differences with Github, main advantages and disadvantages in…
-
4
votes1
answer1944
viewsQ: Is it possible to delete a folder inside a repository directly from the Github site without using Git?
Delete a folder inside a directory directly from the Github website without using Git? I’d like to delete a folder, but I don’t know if it’s possible without Git.
-
4
votes2
answers4812
viewsQ: How do I check if there is a special character or number in a string in C?
I am confused in logic to check if it has other characters than alphabetic ones. I thought of the following logic, but I think it is wrong: char nome[30]; scanf("%s", nome); int especial = 0;…
-
3
votes2
answers259
viewsQ: Optimization of multiple ifs into something more practical
I have a string alphabetical: char string[] = "aouihuiahsudasduihqmdoiqjnduiamsdoqnwuidamodkjwodkaposdj"; I want to go through it all and for every character of it, say how many times it repeats in…
-
1
votes3
answers11136
viewsQ: Store data inside a Python loop array
Good afternoon, you guys. I’ve been learning a lot of C and C++, and the python part too. It confuses me a lot the syntaxes sometimes, because I often think of C and I get confused in python. In the…
-
0
votes1
answer19
viewsQ: Renaming a string in a structure vector
Good afternoon guys, I’m catching on to a part of my code and really don’t know the logic to solve it. If the vector manufacturer’s name carros in position j be equal Chevrolet, change him to GM.…
-
2
votes3
answers2408
views -
3
votes2
answers2577
viewsQ: Find amount of times a character appears in a word using recursiveness
Develop an algorithm that reads a word (string) a character and return the number of times this character appears in the word. The algorithm must be recursive. Examples of Input and Output: Entree:…
-
0
votes1
answer2314
viewsQ: Create a recursive function in C that returns the largest and smallest value of a vector
Guys, how can I solve this exercise? 1-on the first line the user has to type the vector size 2- in the second line, the user fills in integers 3- make a recursive function that receives by…