www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/05/03:03:17

From: Erik Max Francis <max AT alcyone DOT com>
Newsgroups: comp.os.msdos.djgpp,comp.lang.c
Subject: Re: Functions in struct's... possible? How?
Date: Mon, 01 Sep 1997 12:57:27 -0700
Organization: Alcyone Systems
Lines: 21
Message-ID: <340B1E27.44FAD207@alcyone.com>
References: <33FCDA5C DOT 2353659F AT execulink DOT com> <5tippg$ci7$2 AT news DOT sendit DOT nodak DOT edu> <5tkq9a$2se$1 AT helios DOT crest DOT nt DOT com> <5tmcai$nuo$1 AT news DOT sendit DOT nodak DOT edu>
NNTP-Posting-Host: newton.alcyone.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Adam W Lee wrote:

> Also, somebody said "you can do this in C, suggesting another language
> is
> dumb" (I believe it was Paul Derbyshire but I may be mistaken, I'll
> have
> to go back and look.)

The original question was, "How do I do X in language Y?"  The answer to
the question is never "Use language Z."

That's why people reacted the way they did.  Function pointers are the
answer to the original poster's question.

-- 
          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.07n/121.53.38w
                                      \
                  "War is like love; / it always finds a way."
                                    / Bertolt Brecht

- Raw text -


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