[comp.graphics] TurboC graphic Symbols

ctm@peora.ccur.com (Cuong Tuan Ma) (07/06/89)

  Hello,
    I'm writing a graphic program (playing card game) using TurboC 2.0, 
    but I don't know how to get these little symbols: heart, diamond,
    club, and spade shapes. I couldn't find them even in ASCII table or
    <graphics.h>, <ctype.h> packages.  I didn't see them in MSDOS page
    code table neither.  Do I need to create my own symbols to print
    out those playing cards (I'm afraid that It could be messy).
    Do you have any suggestion?  I'll appreciate all your help.

    My email address :     peora!ctm

ctm@peora.ccur.com (Cuong Tuan Ma) (07/07/89)

Hello,
  I'm writing a graphic game program (playing card game) using TurboC 2.0,
but I could not find these little symbols: heart, diamond, club, and spade
in order to print out on screen.  I didn't see them in ASCII table
(neither "graphics.h" nor "ctype.h" libraries), and they are not even in
MSDOS pagecode table (USA, Portugeese,Canada...).  Do I need to create
them myself (through bitmap 8x8 square)? I know it would be messy!
  Do you have any suggestion?  I'll appreciate all your help.      

  My email address:   peora!ctm

josef@ugun13.UUCP (07/11/89)

 > but I could not find these little symbols: heart, diamond, club, and spade
					      ^^^^^  ^^^^^^^  ^^^^      ^^^^^

I'm not quite sure if TurboC fiddles with the characters, but
heart = '\003'
diamond = '\004'
club = '\005'
spade = '\006'

		Josef Moellers

	paper mail:			e-mail:
c/o Nixdorf Computer AG		USA:  uunet!linus!nixbur!mollers.pad
Abt. DX-SC 1			!USA: mcvax!unido!nixpbe!mollers.pad
Heinz-Nixdorf-Ring			Phone:
D-4790 Paderborn		(+49) 5251 104691
+-----------------------------------------------------------------------+
| "Many that live deserve death. And some that die deserve life.	|
|  Can You give it to them? Then do not be too eager to deal out	|
|  death in judgement"							|
|			Gandalf to Frodo in "The Fellowship of the Ring"|
+-----------------------------------------------------------------------+