www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/09/05/03:56:51

From: "A.Appleyard" <A DOT APPLEYARD AT fs2 DOT mt DOT umist DOT ac DOT uk>
Organization: Materials Science Centre
To: DJGPP AT DELORIE DOT COM
Date: Thu, 5 Sep 1996 08:39:19 GMT
Subject: Spelling
Message-ID: <2B00280A72@fs2.mt.umist.ac.uk>

  Someone wrote:-
> Hey, that's real something! I'd vote to reject all the '{/}' also!

  C and C++ find a use for all but two of the printing ascii characters; but `
and @ are left out in the cold. What I would use them for in C and C++ if I
could, would be:-
  x`n as x to the power of n, since ^ already means `nonequivalence'. C/C++ is
the only language that I know of (except assembly language compilers, and one
primitive compiler (Elliott Autocode) for an ancient very small mainframe),
that has the grossly inconvenient misfeature of having no power operator! The
function pow(x,n) isn't the same, as its calls with a small integer constant
exponent can't be optimized at compile time anything like as easily.
  If p is a pointer type (say here, an int*), n AT p as "the array of n int's
starting at *p". m AT n@p could define an array int[m][n] starting at *p.

- Raw text -


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