I'm using visual c++ 2008. I don't know what namespace system and system::Glob.. are. I've never used "wchar_t" nor Console::Write. Is there a way to display unicode characters with the C++ that was taught to me in school? It looks that ASCII II is supported by using the char datatype while using cout.
#include<iostream>
#include <tchar.h>
using namespace System;
using namespace System::Globalization;
using namespace std;
const char z = 253;
const wchar_t y = L'\u00b2';
int main()
{
Console::Write( z );
cout << endl << z << endl;
Console::Write( y );
cout << endl << y << endl;
}
this code displays:
-3
²
²
178
Press any key to continue . . .