Andes Workshop

It is currently Fri Mar 29, 2024 4:51 pm

All times are UTC + 8 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: .h檔在folder裡編譯
PostPosted: Tue Sep 27, 2011 12:47 pm 
Offline
User avatar

Joined: Fri Mar 04, 2011 9:36 pm
Posts: 500
(a) inculde時,直接寫相對路徑,如下圖
Attachment:
p1.gif
p1.gif [ 18.37 KiB | Viewed 7087 times ]

(b) 或是在include裡加入path,方法如下

Project上按右鍵-->properties,打開下面的視窗,
選擇Settings-->Tool Settings-->Directories-->Add
Attachment:
p2-1.gif
p2-1.gif [ 21.88 KiB | Viewed 7087 times ]

按下Workspace
Attachment:
p2-2.gif
p2-2.gif [ 7.94 KiB | Viewed 7087 times ]

選擇要加入的path
Attachment:
p2-3.gif
p2-3.gif [ 13.08 KiB | Viewed 7087 times ]

在程式裡,只需要打入檔名即可,不用打路徑。
Attachment:
p2-4.gif
p2-4.gif [ 3.83 KiB | Viewed 7087 times ]


Top
 Profile Send private message E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 17 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group