From: "Sean Pajot" Newsgroups: comp.os.msdos.djgpp References: <7eqph5$ase$1 AT aquila DOT tiscalinet DOT it> Subject: Re: help a student Lines: 23 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Message-ID: Date: Mon, 12 Apr 1999 22:26:51 GMT NNTP-Posting-Host: 142.194.222.237 X-Trace: tundra.ops.attcanada.net 923956011 142.194.222.237 (Mon, 12 Apr 1999 22:26:51 GMT) NNTP-Posting-Date: Mon, 12 Apr 1999 22:26:51 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com An undefined reference means you did something like: invalid_function(45, "Hello there", "No I don't"); When "invalid_function" is never defined anywhere at all (or at least what files the compiler is told to search). "main" is the function that gets executed as the start of your code. I can see 3 ways you could get this error: 1) There is no main function (which I doubt) 2) You forgot to include it's file in your project 3) You may have put some capitals in it's name. C/C++ is very case sensetive. Main and main are different things. Does this help? -- Sean To reply, change "@notmail.com" to "@hotmail.com"