Article View: comp.os.ms-windows.programmer.tools
Article #950Number matching
From: William H Lloyd
Date: Fri, 11 Aug 1995 18:16
Date: Fri, 11 Aug 1995 18:16
22 lines
1209 bytes
1209 bytes
Hi, does anyone have a routine to check the numerical input from an editable text box (lets call it edit_box) and then matching it to a list of 15 stored numbers for the closest match. I am using Borland C++ 4.2 and Win 3.1. E.g. Person types in number 516 -->--- Matching routine ------> Closest match : 520. Thanks. Tim. -- * Timothy Lloyd and Anastasia Black e-mail : tlloyd.ablack@zetnet.co.uk WWW : http://webzone1.demon.co.uk/standard/1000.htm -- We think and therefore we very possibly are. -- Redheads, unlike hotheads are symbols of controlled power.
Technical Details
Message-ID:
<40g6au$lpr@yell.zetnet.co.uk>Path:
arc1-ca.pugleaf.net!zetnet.co.uk!usenetReferences:
<NEWTNews.807898837.21140.shah@shah.wg.com> <DD1EAJ.145@ta.es>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!zetnet.co.uk!usenet From: tlloyd.ablack@zetnet.co.uk (William H Lloyd) Newsgroups: comp.os.ms-windows.programmer.tools,comp.os.ms-windows.programmer.networks,comp.os.ms-windows.programmer.misc,comp.os.ms-windows.programmer.controls,comp.os.ms-windows.apps.utilities,comp.os.ms-windows.apps.misc,comp.os.ms-windows.apps.comm,comp.lang.c++ Subject: Number matching Date: Fri, 11 Aug 1995 19:16:31 +0100 Organization: Zetnet Services, Shetland Message-ID: <40g6au$lpr@yell.zetnet.co.uk> References: <NEWTNews.807898837.21140.shah@shah.wg.com> <DD1EAJ.145@ta.es> NNTP-Posting-Host: foula.zetnet.co.uk