Posts by Felipe Lima Estevanatto • 62 points
6 posts
-
0
votes1
answer68
viewsA: Update the console without flashing C++
The system("cls") is a big problem for all beginners who want to play a little game on the console, because the use of system is already something dangerous as well as the use of the function cls is…
-
-1
votes2
answers55
viewsA: Make an If in c++ by limiting the answers
Well, since you left only part of the code, I had to take over a few things to be able to work on a solution for you, as you left the data as an array, and built the solution based on that, using an…
-
-1
votes1
answer41
viewsA: How do I make a string larger than her fgets not move to the next fgets? (C)
This problem happens because the fgets will read all the characters you ask for except one, because the last will always be a \0, so if you asked him to collect only 10 characters but type: Input:…
-
2
votes2
answers68
viewsA: Scanf does not work even forcing to ignore the spaces
This is quite simple, the problem is that you are working with strings(array of characters) and are using scanf to receive input, and the problem is the definition of scanf: scanf(): You will read…
-
-1
votes3
answers67
viewsA: How to make the user choose the amount of elements in an ARRAY?
This is very simple, just use a legal concept that the programming offers us, that is, we can set the size of a variable or array, based on another previous variable, that is, we ask the size of the…
canswered Felipe Lima Estevanatto 62 -
0
votes1
answer81
viewsA: How to go back at a specific point of the code in c++?
If you want to go back in code, you usually end up thinking about goto, however the use of the droplet for any program larger than a functionality test is not recommended or even constantly hated,…