Mail Archives: djgpp/2000/10/05/11:25:06
From: | "Paulo J. Matos aka PDestroy" <pdestroy AT netcabo DOT pt>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Strange error
|
Date: | Thu, 5 Oct 2000 15:30:18 +0100
|
Lines: | 30
|
Message-ID: | <8ri3am$l53$1@venus.telepac.pt>
|
NNTP-Posting-Host: | 212.113.180.252
|
X-Trace: | venus.telepac.pt 970756246 21667 212.113.180.252 (5 Oct 2000 14:30:46 GMT)
|
X-Complaints-To: | abuse AT mail DOT telepac DOT pt
|
NNTP-Posting-Date: | 5 Oct 2000 14:30:46 GMT
|
X-Priority: | 3
|
X-MSMail-Priority: | Normal
|
X-Newsreader: | Microsoft Outlook Express 5.50.4133.2400
|
X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4133.2400
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
Hi, I have the following function:
void wait_u(void) {
getkey(NULL);
}
Waits for the user to press any key. I've implemented in a program I made
some months ago. Now I copy-pasted to my new program I'm doing now and the
compiler says:setup.c: In function `wait_u':
setup.c:124: too many arguments to function `getkey'
How strange!!! On the other program it compiled correcly...
Any ideas??
best regards,
--
Paulo J. Matos aka PDestroy
http://www.pdestroy.net
ICQ UIN - 361853
--
The hours I spend with you I look upon as sort of a perfumed garden, a dim
twilight, and a fountain singing to it, you and you alone make me feel that
I am alive. Other men it is said have seen angels, but I have seen thee and
thou art enough.
- Moore, George
- Raw text -