delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/03/09/20:59:04

Date: Wed, 09 Mar 1994 16:55:43 MST
From: "SIG." <icsip118 AT msu DOT oscs DOT montana DOT edu>
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Beginner has more questions

	Sorry, I have some more questions.  I could not get any of the
included programs to compile.  These are the 2 warnings I keep bumping into:

c:/djgpp/lib/crt0.o: Undefined symbol _main referenced from the text segment

	and 

warning: return-type defaults to 'int'

Any help would be appreciated.

Since I couldn't get them to work, I went ahead and wrote my own short 
program that just read in a few integers and calculated an answer.  When
I run the program, it doesn't prompt me for an input.  It goes through the
whole program and just outputs 0 for the answers.  I'm guessing I need a
.h function or something.  Anyway, if someone feels like helping out, thanks.  

One more thing.  Is there a file that has a list of all the .h functions
and what they do, so I know which ones I need to include in my 
program.  (I couldn't find one in any of my directories.)  Or do I have 
to seperately read the program, and description, of each one.

-Aaron


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019