| delorie.com/archives/browse.cgi | search |
| From: | fred AT genesis DOT demon DOT co DOT uk (Lawrence Kirby) |
| Newsgroups: | comp.os.msdos.djgpp,comp.lang.c |
| Subject: | Re: Functions in struct's... possible? How? |
| Date: | Fri, 22 Aug 97 14:40:16 GMT |
| Organization: | none |
| Message-ID: | <872260816snz@genesis.demon.co.uk> |
| References: | <33FCDA5C DOT 2353659F AT execulink DOT com> <5tippg$ci7$2 AT news DOT sendit DOT nodak DOT edu> |
| Reply-To: | fred AT genesis DOT demon DOT co DOT uk |
| Lines: | 16 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
In article <5tippg$ci7$2 AT news DOT sendit DOT nodak DOT edu>
adalee AT sendit DOT sendit DOT nodak DOT edu "Adam W Lee" writes:
>If you want a function in a struct, you should just use C++ and use a
>class to define this instead of a struct.
C can deal with function pointers in structs perfectly well. Telling somebody
to switch languages over a single language element such as this is *very*
poor advice.
--
-----------------------------------------
Lawrence Kirby | fred AT genesis DOT demon DOT co DOT uk
Wilts, England | 70734 DOT 126 AT compuserve DOT com
-----------------------------------------
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |