Hi Well thanks to all, I've installed abook and had a brief look at how it works. But I'm interested in the attached c++ code. I will enjoy examining it more closely. Thank you. Gena > This message is in MIME format. The first part should be readable text, > while the remaining parts are likely unreadable without MIME-aware tools. > Send mail to mime at docserver.cac.washington.edu for more info. > >--655616-122326073-1011228749=:6649 >Content-Type: TEXT/PLAIN; CHARSET=US-ASCII >Content-ID: <Pine.LNX.4.33.0201161959232.6748 at rmnet> > > >I meant "g++ -o address address.cpp" > > >---------- Forwarded message ---------- >Date: Wed, 16 Jan 2002 19:52:29 -0500 (EST) >From: rmann at rmisp.net >To: speakup at braille.uwo.ca >Subject: Re: Telephone / Address directory program? > >Hi. >I've attached a simple program to store People's addresses. To compile >it, do "gcc -o address address.cpp". > > >On Wed, 16 Jan 2002, Raul A. Gallegos wrote: > >> Georgina said the following on Wed, Jan 16, 2002 at 11:23:02PM +0000: >> > Hi >> >> Howdy. >> >> > I wondered if there were any handy terminal programs for storing telephone numbers and addresses. While I've been playing with postgresql, I don't know variations of the select statements well enough for this simple task. It feels like using a sledge hammer for a very small nut. I'm just looking for a small program that I as a single user can enter names, addresses and telephone numbe rs and retrieve quite easily. Any ideas? >> >> >> I don't remember which distro you use but there is a Debian package >> which I use and works quite well. If you don't use Debian I'm sure you >> can find it from freshmeat.net and install it manually. >> >> Package: abook >> Priority: optional >> Section: mail >> Installed-Size: 176 >> Maintainer: Alan Ford <alan at whirlnet.co.uk> >> Architecture: i386 >> Version: 0.4.14-1 >> Depends: libc6 (>= 2.2.3-7), libncurses5 (>= 5.2.20010310-1) >> Filename: pool/main/a/abook/abook_0.4.14-1_i386.deb >> Size: 34556 >> MD5sum: 39683e77a3ad53bcd551865b82c5e7c5 >> Description: A text-based ncurses address book application. >> abook is a text-based ncurses address book application. It provides >> many >> different fields of user info. abook is designed for use with mutt, but >> can be used independently. >> >> _______________________________________________ >> Speakup mailing list >> Speakup at braille.uwo.ca >> http://speech.braille.uwo.ca/mailman/listinfo/speakup >> > >--655616-122326073-1011228749=:6649 >Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; NAME="address.cpp" >Content-Transfer-Encoding: BASE64 >Content-ID: <Pine.LNX.4.33.0201161952290.6649 at rmnet> >Content-Description: >Content-Disposition: ATTACHMENT; FILENAME="address.cpp" > >I2luY2x1ZGUgPGlvc3RyZWFtLmg+DQojaW5jbHVkZSA8ZnN0cmVhbS5oPi8v >aGVhZGVyIGZpbGUgZm9yIGZpbGUgSU8NCmludCBtYWluKCkNCnsNCmNoYXIg >bmFtZVszMF07DQpjaGFyIGFkZHJlc3NbMzBdOw0KY2hhciBjaXR5WzMwXTsN >CmNoYXIgc3RhdGVbM107DQpjaGFyIHppcFs2XTsNCmNoYXIgcGhvbmVbMTNd >Ow0KaW50IGNvbnQgPSAxOw0Kb2ZzdHJlYW0gb3V0ZmlsZTsNCm91dGZpbGUu >b3BlbigiYWRkcmVzcy50eHQiLCBpb3M6OmFwcCk7DQppZihvdXRmaWxlKQ0K >ew0Kd2hpbGUoY29udCAhPSAwKQ0Kew0KY291dCA8PCAiRW50ZXIgdGhlIHBl >cnNvbidzIG5hbWUuXG4iOw0KY2luLmdldChuYW1lLCAzMCk7DQpjaW4uaWdu >b3JlKDgwLCAnXG4nKTsNCmNvdXQgPDwgIkVudGVyIHRoZSBwZXJzb24ncyBh >ZGRyZXNzLlxuIjsNCmNpbi5nZXQoYWRkcmVzcywgMzApOw0KY2luLmlnbm9y >ZSg4MCwgJ1xuJyk7DQpjb3V0IDw8ICJFbnRlciB0aGUgY2l0eS5cbiI7DQpj >aW4uZ2V0KGNpdHksIDMwKTsNCmNpbi5pZ25vcmUoODAsICdcbicpOw0KY291 >dCA8PCAiRW50ZXIgdGhlIHR3byBsZXR0ZXIgc3RhdGUgYWJyZXZpYXRpb24u >XG4iOw0KY2luLmdldChzdGF0ZSwgMyk7DQpjaW4uaWdub3JlKDgwLCAnXG4n >KTsNCmNvdXQgPDwgIkVudGVyIHRoZSBwb3N0YWwgY29kZS5cbiI7DQpjaW4u >Z2V0KHppcCwgNik7DQpjaW4uaWdub3JlKDgwLCAnXG4nKTsNCg0KY291dCA8 >PCAiRW50ZXIgdGhlIHBob25lIG51bWJlci5cbiI7DQpjaW4uZ2V0KHBob25l >LCAxMyk7DQpjaW4uaWdub3JlKDgwLCAnXG4nKTsNCm91dGZpbGUgPDwgbmFt >ZSA8PCAiXG4iOw0Kb3V0ZmlsZSA8PCBhZGRyZXNzIDw8ICJcbiI7DQpvdXRm >aWxlIDw8IGNpdHkgPDwgIlxuIjsNCm91dGZpbGUgPDwgc3RhdGUgPDwgIiwi >Ow0Kb3V0ZmlsZSA8PCB6aXAgPDwgIlxuIjsNCm91dGZpbGUgPDwgcGhvbmUg >PDwgIlxuIjsNCmNvdXQgPDwgIlRvIHF1aXQgdGhpcyBwcm9ncmFtIHR5cGUg >MCB0aGVuIHJldHVybi5cbiI7DQpjb3V0IDw8ICJUeXBlIHJldHVybiB0byBj >b250aW51ZS5cbiI7DQpjaW4gPj4gY29udDsNCn0NCn0NCmVsc2UNCnsNCglj >b3V0IDw8ICJUaGVpciB3YXMgYW4gZXJyb3Igb3BlbmluZyB0aGUgZmlsZS5c >biI7DQp9DQpvdXRmaWxlLmNsb3NlKCk7DQpyZXR1cm4gMDsNCn0NCg0K >--655616-122326073-1011228749=:6649-- > >_______________________________________________ >Speakup mailing list >Speakup at braille.uwo.ca >http://speech.braille.uwo.ca/mailman/listinfo/speakup