Posts by Luis Henrique • 77 points
3 posts
-
3
votes2
answers1115
viewsQ: Treatment of exceptions in C++
I have a question regarding the treatment of exceptions in C++, the class Fracao below is purposely incomplete does not even possess setters or getters and several things have been "set aside", has…
-
0
votes3
answers336
viewsQ: Problem regarding type in function with variable parameters in C
I’m having trouble solving a problem in a function that receives variable parameters. I have a function that sums a variable amount of numbers, its first parameter is the amount of numbers to be…
-
4
votes1
answer1052
viewsQ: Parameters of the scanf function
When studying the function scanf with a little more depth I arose a doubt about the arguments I put before the % when reading a string, ie scanf("argumentos...%s",minhastring), in the following…