So I understand that C++ defines a byte as a typedef unsigned char. But I can't fully understand why, after setting a byte variable equal to a int, it couts as a smiley face..
#include <iostream>
#include <Windows.h>
using namespace std;
int main(){
int x = 1;
byte y = x;
cout << y;
}
I'm sure this has a simple explanation, but I can't seem to find it. Is the first character of the unicode OR UTF8 set a smiley face?