Skip site navigation (1) Skip section navigation (2)

From: "Nigel Rennie" <nigel_rennie(at)hotmail(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject:
Date: 2001-10-21 00:16:52
Message-ID: F47ZJTk3hgCous3G9YE000109ff@hotmail.com (view raw or flat)
Thread:
Lists: pgsql-novice
i am having a problem with c++;

firstly, i am using scanf to get two words

scanf("%19s %19s",firstname,surname);

but i need to somehow have it so that when the user presses z and then enter
it calls anouther function(without asking for the surname)

secondly, i have to get 1 char from the user without him/her pressing
return. ie press any key to continue type thing.

i know about system("pause") but i need my own message.

i hope you can help me

nigel





_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


pgsql-novice by date

Next:From: Josh BerkusDate: 2001-10-22 16:22:06
Subject: Re: [PHP] Can't postgres join tables on varchar fields ?
Previous:From: Josh BerkusDate: 2001-10-20 19:51:30
Subject: Re: [PHP] Can't postgres join tables on varchar fields ? <EOM>

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group