I'm just starting to learn C++ and I wanted to know how to display special characters like in this french sentence "J'aime le café"
and I don't want to have to put something like \uefdddf
. I want to be able to display the char with this code:
#include <iostream>
using namespace std;
int main() {
printf("J'aime le café");
}
I want it to display this French sentence J'aime le café
in the terminal, not J'aime le cafÚ
.
I've searched the web for several answers but haven't found what I'm looking for. I hope you can help me. I'm using windows 10 and MinGW.