Extended ASCII in C++

  ascii, c++, extended-ascii

I’ve tried to execute the following code:

    #include <iostream>
using namespace std;

int main() {
    unsigned char datoChar = 168;
    cout << datoChar << endl;
    return 0;
}

And it returns a symbol with "?" but it should return "¿"

Source: Windows Questions C++

LEAVE A COMMENT