r/programminghelp • u/Ok_Ad_5784 • Sep 18 '23
C Special character
Hi, sorry for my bad english in advance and thanks for reading this. I started learning C, i am using Visual studio to practice. When i printf a message with "¿" it give me a symbol, i tried to fix it but i couldn't. Thanks!!.
1
Upvotes
View all comments
Show parent comment
1
u/Ok_Ad_5784 Sep 19 '23
Thanks a lot, adding #include <windows.h> and SetConsoleOutputCP(1252); fixed my problem! even chat gpt couldnt help me fixing this =D