TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: Dave Giunti
from: Darin McBride
date: 1998-11-08 18:59:08
subject: Visual C transcription

GD> Online help?
 GD>
 DG> The only references to curses in the online docs was to actual
 DG> cursing at the compiler and it's programs!
 GD>
 GD> OK, curses has nothing to do with VC6!!! If I 
 GD> recall correctly, curses
 GD> has to do with handling keystrokes. I would check Unix archives...

 DG>    Yea, Right Garry, controling screen output has nothing to do with
 DG>  VC6!!!

Dave,

  If I were you, I'd be a little less quick to toss off Gerry's words of
wisdom.  He may not be the most senior echo member, but he rarely spouts
off in directions he doesn't know about.  At least not in this echo. 
()

Curses is a unix standard, not a Microsoft standard.  Almost by definition,
then, it isn't built into VC6.  (Mind you, it's not in most commercial DOS,
Windows, or OS/2 compilers.)

Controlling screen output in Win32 console mode is not actually done via
VC6, but via C-style Win32 API's.  Curses is merely a layer of abstraction
over OS-specific cursor APIs, which has been ported to non-unix platforms,
although usually only for their flavours of gcc, not for other compilers. 
If you're looking to port GnuChess, your best bet probably is to use the
Gnu compiler on Win32, not MS's compiler. (*)

(*) disclaimer: I hate MS on a number of fronts, but I actually like their
compiler.  I do not try to steer people away from it, per se, but to use
the best tool for the job rather than try to fit the job to the tools.  If
you were trying to screw together two pieces of wood, you wouldn't use a
hammer - you'd use a screwdriver.  Better yet, you'd use a powered
screwdriver.  Three tools, same job - which one is better?  You're trying
to use a hammer for a screw.  Hammers are better for nails.  ;-)


---
* Origin: Tanktalus' Tower BBS (1:250/102)
SEEN-BY: 396/1 632/0 371 633/260 267 270 371 634/397 635/506 728 639/252
SEEN-BY: 670/218
@PATH: 250/102 201 99 396/1 633/260 635/506 728 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.