Link to home
Start Free TrialLog in
Avatar of VaughanMx
VaughanMxFlag for United States of America

asked on

borland builder C++ display "1/2" symbol

How can I cause my C++ program to display a 1/2 symbol?
In the source code I have used ALT+177, and ALT+0189. They both show as the half symbol in the source code, and sometimes even display correctly - but usually the display is two left facing chevrons.
Help?
Avatar of Joseph O'Loughlin
Joseph O'Loughlin
Flag of Ireland image

I suspect it works for you when the Windows Codepage is 1252 (Latin I), and for central europe's codepage 1250 you get the chevron.
Well, pretty few details. But: as you already said your using ALT+177 in BB. Are you sure that the output device of your application (!=BB) is using a font containing symbols for this?
Avatar of VaughanMx

ASKER

Further details: using Win7 on a 64bit PC.
Does BB have a method to select a particular code page?
How would I do that?
ASKER CERTIFIED SOLUTION
Avatar of Joseph O'Loughlin
Joseph O'Loughlin
Flag of Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial