I am new to C++ programming language. I have done some mathematical computation in my program and right now I am interested in displaying "σ" notation in my output such that the output should display "σ<a,b>".
I know the uni code for "σ" that is "\u03C3" but I don't know how to display it on screen.
Can anyone tell me how to display this sign or other mathematical signs in C++.
I tried both the methods but its not working.I got the decimal value of sigma which is 963 and tried to use it by the way discussed in the link provided by you kevin but it displays s only and not the "σ" sign.
int main ()
setlocale(LC_ALL,"Greek"); //This accepts the greek value
wchar_t orig = 963; // This is the decimal value of sigma.
std::wcout<<orig<<endl; //Prints sigma sign