Article View: alt.comp.lang.learn.c-c++
Article #379Function Templates
From: Eric & Tammy
Date: Sat, 06 Mar 1999 00:00
Date: Sat, 06 Mar 1999 00:00
3 lines
981 bytes
981 bytes
I need to write a "template function" (i.e., template <class highest>)that returns the largest of three numbers of the same type passed to it as arguments. Any help, suggestions, or ideas would be appreciated.
Technical Details
Message-ID:
<01be6806$77c8e6a0$LocalHost@mckinniss>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f8d38,a166b609beeb1a7f,start X-Google-Attributes: gidf8d38,public X-Google-Thread: 109fba,a166b609beeb1a7f,start X-Google-Attributes: gid109fba,public X-Google-Thread: 114592,a166b609beeb1a7f,start X-Google-Attributes: gid114592,public From: "Eric & Tammy" <emckinniss@sprintmail.com> Subject: Function Templates Date: 1999/03/06 Message-ID: <01be6806$77c8e6a0$LocalHost@mckinniss> X-Deja-AN: 451991424 X-Posted-Path-Was: not-for-mail X-ELN-Date: 6 Mar 1999 19:22:16 GMT X-ELN-Insert-Date: Sat Mar 6 11:55:45 1999 Organization: EarthLink Network, Inc. Reply-To: "Eric & Tammy" <ericandtammy@unforgettable.com> Newsgroups: alt.comp.lang.learn.c-c++,borland.public.cpp.language,comp.lang.c++