cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Using Greek letters
Using Greek letters
Sep 22, 2014 at 1:38pm UTC
gabor53
(14)
What is the easiest way of use Greek letters as variables and display them using cout?
Thank you.
Sep 22, 2014 at 1:46pm UTC
novellof
(210)
pseudo code
if(char == '5')
{
cout << 'V' << endl;
}
Last edited on
Sep 22, 2014 at 9:50pm UTC
Sep 22, 2014 at 2:16pm UTC
Computergeek01
(5613)
@
novellof
: 5 is 'V', 10 is 'X'.
@ OP: The font face for the console is an attribute of the OS. So you'll need to tell the OS that you want to change it. For Windows the function is "SetConsoleOutputCP()":
http://msdn.microsoft.com/en-us/library/windows/desktop/ms686036(v=vs.85).aspx
Sep 22, 2014 at 9:50pm UTC
novellof
(210)
lel imma make a change to my code den
Topic archived. No new replies allowed.