delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/10/01:32:09

From: Erik Max Francis <max AT alcyone DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: 'Register' in C
Date: Fri, 09 Jan 1998 21:36:58 -0800
Organization: Alcyone Systems
Lines: 23
Message-ID: <34B708FA.550C82F1@alcyone.com>
References: <01bd1ae1$2f536440$d83d63c3 AT default> <34B29809 DOT 8841108D AT pentek DOT com> <34B2AEDA DOT B0D341BD AT pentek DOT com> <68ulca$h28$1 AT rosenews DOT rose DOT hp DOT com>
NNTP-Posting-Host: newton.alcyone.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Andrew Crabtree wrote:

> Your mistake was trying to correct a non-existent mistake.
> >> char buf[100];
> >> register *char bufptr = buf;
>
> This is good.

It is?

    parse error before `char'

He meant

    register char *bufptr = buf;

-- 
         Erik Max Francis, &tSftDotIotE / mailto:max AT alcyone DOT com
                       Alcyone Systems / http://www.alcyone.com/max/
  San Jose, California, United States / icbm://+37.20.07/-121.53.38
                                     \
                       "Life may be / the product of imperfections."
                                   / (Marclo Gleiser)

- Raw text -


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