Everyone, good morning. I'm starting in C programming (I come from Python and JavaScript).
I have a problem using the setLocale function, which defines the type of language used, allowing the use of accentuation and so on. When I put the function in my program and enter any value with the use of the point (example: 0.4) the program ends instantially. I know the error is in setLocale, because when I take the function the program runs as expected.
Below is my code:
The purpose of using SetLocale (which is to use accent and tals) works correctly,