From: "Morten Daugaard" Newsgroups: comp.os.msdos.djgpp Subject: Undefined reference to GetInteger ?? please help me !! X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.100 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.100 Message-ID: Date: Fri, 16 Jul 1999 19:34:58 +0200 NNTP-Posting-Host: 195.82.219.142 X-Complaints-To: abuse AT get2 DOT net X-Trace: news.get2net.dk 932147037 195.82.219.142 (Fri, 16 Jul 1999 19:43:57 MET DST) NNTP-Posting-Date: Fri, 16 Jul 1999 19:43:57 MET DST Organization: get2net Internet Kunde Lines: 37 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi !! while trying to build this little program i get an error saying : undefined reference to GetInteger, why ?? and how do i solve this. And why do i have to make en return 0; ?? if i dont write this line i get an error too. Please help me.... Morten #include "genlib.h" #include #include "simpio.h" main() { int pass = 0; while(TRUE){ printf("\nEnter Password: "); pass=GetInteger(); if (pass==3760) { printf("\n\n....Ok you are cleared !!");break; }else{ printf("\n..Wrong password, try again !!\n"); } } return 0; }