I'm trying to print ASCII greek symbols to a notepad file and the terminal window. From what if seen, this appears to be pretty complex. Is there a simple way to approach this? Possibly a prewritten library I can use? Does Microsoft have anything readily available to use?
Right now, the symbol simply prints as a question mark. My code and system information is provided below.
Compiler: Visual Studio 2019 OS: Windows 10
CODE:
#include <iostream>
#include <fstream>
using namespace std;
int main() {
cout << "φ" << endl;
system("pause");
ofstream out;
out.open("test.txt");
out << "φ" << endl;
out.close();
return 0;
}