The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Home directory Query mmg2711 UNIX for Dummies Questions & Answers 2 10-25-2007 09:30 AM
home directory security prvnrk UNIX for Advanced & Expert Users 5 08-09-2007 02:13 AM
Can you navigate ABOVE the home directory? patwa UNIX for Dummies Questions & Answers 4 06-13-2007 07:27 PM
home directory nokia3100 UNIX for Dummies Questions & Answers 1 05-07-2007 11:16 AM
cd into home directory ~ here2learn UNIX for Dummies Questions & Answers 4 04-12-2005 06:20 AM

Closed Thread
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-15-2002
Registered User
 

Join Date: Feb 2002
Posts: 19
c++ home directory??

when i compile *.cpp files the compiler didn't find the non standart includes.If i have to put the full path of the includet files
where shall i begin from root dirctory or i heve to put includet files in cpp home directory???

can i compile java files in unix(linux mandrake 7) if yes haw should i do?
if there is a software to download tell me please where can i download.
Thnx.
__________________
user666@cec
Forum Sponsor
  #2 (permalink)  
Old 03-15-2002
auswipe's Avatar
Registered User
 

Join Date: Nov 2001
Location: Wide Awake Wylie, Texas
Posts: 536
I would use the full path just to be on the safe side...

Code:
#include "/usr/local/somedir/someincludefile.h"
__________________
Not quite as cool as all the other Kids...
  #3 (permalink)  
Old 03-15-2002
Registered User
 

Join Date: Feb 2002
Posts: 19
thanks

Thanky that was what i wanted to know
__________________
user666@cec
  #4 (permalink)  
Old 03-16-2002
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,318
Also, most (all?) compilers will have an option to add directories to list of places to find include files. My compiler uses:

cc -I/usr/local/somedir

Check the man page on your compiler to see if it has an option like this.
Google UNIX.COM
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 05:52 PM.


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

Content Relevant URLs by vBSEO 3.2.0