Posts by Sampaux • 19 points
2 posts
-
1
votes2
answers89
viewsQ: Balancing parentheses, how to check if they are in the correct position?
I’m making a program that takes a string and checks if open parentheses are closed. I have the following code: int abertos = 0, fechados = 0; //conta os parenteses parens =…
-
-1
votes2
answers78
viewsA: Accentuation in C++ Visualstudiocode
Press Windows + R and execute the command prompt. Type the command: cmd.exe /k chcp 65001. Run your program.