delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/08/21:34:26

Message-Id: <199805090134.VAA07021@hme0.mailrouter01.sprint.ca>
Reply-To: <alicdima AT sprint DOT ca>
From: "Dmitri Ivanenko" <alicdima AT sprint DOT ca>
To: "IBM News" <sal AT anonymous DOT net>, <djgpp AT delorie DOT com>
Subject: Re: compile problems...
Date: Fri, 8 May 1998 21:19:15 -0400
MIME-Version: 1.0

> 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 <stdio.h> ( 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.

- Raw text -


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