Newsgroups: comp.os.msdos.djgpp From: Elliott Oti Subject: Re: Functions in struct's... possible? How? Sender: usenet AT fys DOT ruu DOT nl (News system Tijgertje) Message-ID: <3410F57F.768B@stud.warande.ruu.nl> Date: Sat, 6 Sep 1997 06:17:35 GMT Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii 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> <340B1E27 DOT 44FAD207 AT alcyone DOT com> <340BF8B7 DOT 69C3 AT stud DOT warande DOT ruu DOT nl> <5ui4fh$9gq AT sjx-ixn5 DOT ix DOT netcom DOT com> Mime-Version: 1.0 Organization: Bipolar Widgets International Lines: 31 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk firewind wrote: < SNIP > > Sure. If you want to program in C++, be my guest, I have no objection. It is > entirely out of line, however, to tell a user to switch to C++ when what they > want to do can be accomplished in C. At the risk of sounding argumentative (which I am :-) with all respect, if you want an answer on a pure C (or C++, or Ada) question to remain strictly within the bounds of the specified language, post to the appropriate language newsgroup. There are forums specifically dedicated to providing pure-C solutions for questions asked. This is not one of them. djgpp is a multi-language programming platform. If a question is asked here, and a reader honestly feels that switching djgpp-supported languages is a viable solution, then he should be free to point that out, without being flamed by language-purists. Let me add for the record that I did not make the suggestion about switching to C++ -- that was Adam W. Lee (source: dejanews). I am perfectly aware that pointers to functions exist in C; in fact I find that to be a more practical answer in the short term to the question asked than "learn C++". There is however *nothing* wrong with such an answer here. The original question was crossposted to comp.lang.c: that is the correct place to ask for and recieve C-specific answers, and the original poster was apparently well aware of this. Crossposting to comp.djgpp as well means you can expect some replies not to fall within the charter of C language forums. Please try and remember this in the future as you flame yet another person who suggests "Use language Z". -- ------------ Elliott Oti --------------- ------------- http://www.fys.ruu.nl/~oti ---------