delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/27/18:22:41

From: swarsmatt AT aol DOT com (SWars Matt)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Functions in struct's... possible? How?
Date: 27 Aug 1997 21:14:47 GMT
Lines: 8
Message-ID: <19970827211400.RAA06816@ladder01.news.aol.com>
NNTP-Posting-Host: ladder01.news.aol.com
Organization: AOL http://www.aol.com
References: <3402F5FD DOT 27818183 AT alcyone DOT com>
SnewsLanguage: English
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Adam W Lee wrote:

> If you want a function in a struct, you should just use C++ and use a
> class to define this instead of a struct.

Or you could include a function pointer, if you're using C.


- Raw text -


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