delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/23/17:23:43

From: tomw AT tsys DOT demon DOT co DOT uk (Tom Wheeley)
Newsgroups: comp.os.msdos.djgpp,comp.graphics.algorithms
Subject: Re: VESA 2.0 and getch() bug?
Date: Sun, 23 Mar 97 20:39:55 GMT
Organization: Adventures and Diving
Distribution: world
Message-ID: <859149595snz@tsys.demon.co.uk>
References: <332FB886 DOT 3A9F AT finebody DOT com> <01bc3554$b2601ea0$0100007f AT pentium-120> <5h2ngl$hvk$1 AT news3 DOT microserve DOT net>
Reply-To: tw104 AT york DOT ac DOT uk
Lines: 18
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In article <5h2ngl$hvk$1 AT news3 DOT microserve DOT net>
           tomservo AT onix DOT com "CrowTRobo" writes:

> "Gregorio Hankiewicz" <gregorio AT jet DOT es> wrote:
> 
> >The only difference I noticed is that in the second one you put an '//'
> >before getch(), suposedly to make the compiler ignore the line.
> >I think there's somewhere on a readme file which comes with djgpp that '//'
> >is not recognized as a remark.
> 
> You can use both C style comments (/* */) and C++ style comments (//)
> with DJGPP.

But you shouldn't really use // in a C program.  It looks ugly anyway.

-- 
:sb)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019