Posts by Wallan Rocha • 130 points
6 posts
-
1
votes3
answers702
viewsA: Is there any way to make Git ignore space-related modifications or line breaks?
I found the answer in Stack Overflow in English in this link. Below the translation. It seems you need more control and standardization of the development process. The one who commits changes must…
gitanswered Wallan Rocha 130 -
0
votes2
answers331
viewsA: Save list in file
Hello. I made adjustments to the 'salvacam' function': There is an error in "if(file = NULL)" where there is an assignment of NULL to the pointer. I believe you want to match, in this case use "==".…
-
0
votes1
answer96
viewsA: Gerrit + Gitlab
Yes, I believe that quickly. Install gitlab and Gerrit. 1. Crie seu repositório no GITLAB. 2. git clone --mirror <url do repositorio gitlab> 3. Crie seu projeto no GERRIT. 4. git push --mirror…
gitanswered Wallan Rocha 130 -
1
votes2
answers1045
viewsA: Insertion Sorting and Recursive Insertion
Below is an example of sorting by direct insertion. (It is a little more efficient when compared to the direct selection method and the Bubble Sort) #include<stdio.h> int main() { int i, j,…
canswered Wallan Rocha 130 -
3
votes2
answers162
viewsQ: How do I set up Git to ignore trivial changes (for example, file timestamp) in a file?
The problem I’m facing is this:: The C application has an option where the build date of the application is displayed. To prevent the developer from managing the application before the current day…
-
6
votes3
answers820
viewsA: How to exit the FOR loop within the Switch structure?
Extract the functionality of your grouped ties and make available in a function. This way you can use 'Return' to exit the loop from anywhere, instead of using 'break''. Using your original example:…