The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
Google UNIX.COM


High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Compiling with Dll in HP Ux dwgi32 High Level Programming 2 11-13-2007 07:43 PM
re-compiling aViking UNIX for Advanced & Expert Users 5 03-21-2006 07:44 AM
compiling with aix 5.1 n-may AIX 1 05-24-2004 11:17 PM
compiling Blunt_Killer High Level Programming 1 09-28-2001 08:10 PM
compiling qt nydel UNIX for Dummies Questions & Answers 2 08-03-2001 05:14 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 07-17-2001
Registered User
 

Join Date: Jul 2001
Location: Buffalo New York
Posts: 10
C compiling

I recently loaded SuSE on my intel comp.
I am presently taking a walk down memory lane from my days at UofT.
I was fiddling round with cc and the gcc compilers.
I wrote a basic basic basic program .
I tried to compile it as I remember doing in Uni. The problem is that it can't find the header file that I included in the program (studio.h). The compiler spits out the error message "studio.h: No such file or directory.

Where is this file located or do I have to load it from elsewhere?

Thanks.

PS:I did a search for studio.h and found no references.


Reply With Quote
Forum Sponsor
  #2  
Old 07-17-2001
ober5861's Avatar
Registered User
 

Join Date: Jul 2001
Location: Gettysburg, PA
Posts: 116
It sounds like you may need to download the GCC library!?
Reply With Quote
  #3  
Old 07-17-2001
Registered User
 

Join Date: Jul 2001
Location: dallas,TX
Posts: 10
Smile

did you use the include "" syntax
or the include <> syntax...
remember they have different meaning ...
__________________
Vineeth
Reply With Quote
  #4  
Old 07-17-2001
Registered User
 

Join Date: Jul 2001
Location: California
Posts: 42
if it is C lib. , does it should be &lt;stdio.h&gt; not &lt;studio.h&gt; ?
__________________
:rolleyes:
Reply With Quote
  #5  
Old 07-18-2001
ober5861's Avatar
Registered User
 

Join Date: Jul 2001
Location: Gettysburg, PA
Posts: 116
Smile

That's right, I didn't even look at that. Should be <stdio.h>

ie. standard input/output... don't know where you got the U.
Reply With Quote
  #6  
Old 07-18-2001
Registered User
 

Join Date: Jul 2001
Location: dallas,TX
Posts: 10
Yes, its include &lt;stdio.h&gt;
for all the standard C libraries !!

&lt;&gt; makes the compiler to look in the include directory for the header file. "" searches the current directory !!
__________________
Vineeth

Last edited by vin_vinu; 07-18-2001 at 06:38 AM.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 06:30 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0