Article View: alt.msdos.programmer
Article #1133Re: How to override a previously defined function??
From: Mark Wignall
Date: Tue, 01 Aug 1995 18:24
Date: Tue, 01 Aug 1995 18:24
23 lines
1624 bytes
1624 bytes
dcw@gcm.com (David Worenklein) wrote: >Lewis Hyatt (hyatt@aimnet.com) wrote: >: In article <3um3di$48c@nyheter.chalmers.se>, >: d0berg@dtek.chalmers.se (Lars-Ake Berg) wrote: >: >Hi boys & girls! >: >Could some wizard out there tell me how to override a function that's >: >previously defined? For example, I would like to create a new cprintf(), >: >but that function is already defined in CONIO.H Is this possible in C?? >: > I'd just include the .obj file that results from the compilation AHEAD of any .LIB files specified during the link phase. The linker will take your function over the libraries. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Mark Wignall : What the fool does in the end, Computer Equipment Technician IV : the wise man does in the beginning. Tektronix Inc. : Color Printint & Imaging Division : : email: Mark.T.Wignall@tek.com : =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID:
<3vlrhc$hss@goodnews.wv.tek.com>Path:
arc1-ca.pugleaf.net!news.tek.com!usenetReferences:
<3um3di$48c@nyheter.chalmers.se> <3urdan$gic@aimnet1.aimnet.com> <1995Jul31.181434.3748@gcm.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.tek.com!usenet From: Mark Wignall <Mark.T.Wignal@tek.com> Newsgroups: alt.msdos.programmer,comp.lang.c Subject: Re: How to override a previously defined function?? Date: 1 Aug 1995 18:24:44 GMT Organization: Tektronix - CPID Message-ID: <3vlrhc$hss@goodnews.wv.tek.com> References: <3um3di$48c@nyheter.chalmers.se> <3urdan$gic@aimnet1.aimnet.com> <1995Jul31.181434.3748@gcm.com> NNTP-Posting-Host: markwi.wv.tek.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 1.2b2 (Windows; I; 32bit)