delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/23/13:57:23

Date: Sun, 23 Mar 1997 13:43:27 -0500
Message-Id: <199703231843.NAA01913@delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: tomservo AT onix DOT com
CC: djgpp AT delorie DOT com
In-reply-to: <5h2ngl$hvk$1@news3.microserve.net> (tomservo@onix.com)
Subject: Re: VESA 2.0 and getch() bug?

> >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.

Not true.

You can use both styles of comments in any C++ source, regardless of
compiler, but "//" comments may not be used in C source.

- Raw text -


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