Message-Id: <199805090134.VAA07021@hme0.mailrouter01.sprint.ca> Reply-To: From: "Dmitri Ivanenko" To: "IBM News" , Subject: Re: compile problems... Date: Fri, 8 May 1998 21:19:15 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Precedence: bulk > I tried to run the hallo.c program. It tells me that there is no include > path to find studio.h > > I'm new to programming and am ntr sure what studio.h even does. I just > wanted to see if the compiler worked. I deleted the part that says include > studio.h and it compiles but stops again. It says that tehre is a problem > with Id.exe can't open -lgcc. Invalid file format. > > What's the problem?? > > Thanks for any help!! 1. You need that #include statement a. #include "stdio.h" (if it's in the same directory) or b.#include ( if it's not located in the same directory) 2. Stdio.h is a header file that has all the references to functions that you can use in your program. Those references are to the library files that include the functions themselves. 3. For curiousity, view file in any text editor and you will see that it's not something to be affraid of.