delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/13/12:00:27

From: Erik Max Francis <max AT alcyone DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: A very basic question about C programming... diary of a newbie Part 1
Date: Thu, 13 Aug 1998 08:31:59 -0700
Organization: Alcyone Systems
Lines: 17
Message-ID: <35D306EF.720966DD@alcyone.com>
References: <199808131109 DOT NAA15641 AT acp3bf DOT physik DOT rwth-aachen DOT de>
NNTP-Posting-Host: charmaine.alcyone.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hans-Bernhard Broeker wrote:

> C++ is a different case: there '()' means '(void)', which itself is
> *illegal*. At least, that's what my lossy memory tells me.

You're correct, right down the line.  In C, an empty argument list says
nothing about the arguments; in C++, it means that there are no
arguments.

-- 
Erik Max Francis / email max AT alcyone DOT com / whois mf303 / icq 16063900 
Alcyone Systems / irc maxxon (efnet) / finger max AT sade DOT alcyone DOT com
  San Jose, CA / languages En, Eo / web http://www.alcyone.com/max/
          USA / icbm 37 20 07 N 121 53 38 W / &tSftDotIotE
             \
            / But since when can wounded eyes see
           / Joi

- Raw text -


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