www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/04/25/03:20:35

Message-ID: <3722C23C.EB44020@2xtreme.net>
Date: Sun, 25 Apr 1999 00:20:28 -0700
From: Alex Lowe <ayin AT 2xtreme DOT net>
X-Mailer: Mozilla 4.51 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
To: djgpp AT delorie DOT com
Subject: Re: pushing keys
References: <2dc51d78 DOT 2453f054 AT aol DOT com>
Reply-To: djgpp AT delorie DOT com

I would make a table of all known words, and in the table would be where
each word was linked to for example if the list was (using the thesaurus
case):
	big, large, small, little, tiny

each one would have a place in the list

	1 - big
	2 - large
	3 - small
	4 - little
	5 - tiny

then in the tabe you would say what each one was linked to:

	big  2
	large 1
	small 4,5
	little 3,5
	tiny 3,4

that way you would get a word, seach through the list and find out where
the word was linked to.

Hope that helps.

-- Alex
ayin AT 2xtreme DOT net
SAMSCOTTB AT aol DOT com wrote:
> 
> How would i make a program that is like a lets say a thesaurus (as an example
> ), like the user would type in a word...and they would get back another
> word(s)?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019