The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 Forum for Origin C
 organize .h and .cpp files
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

TreeNode

64 Posts

Posted - 08/24/2010 :  03:06:34 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. 8G SR6
Operating System: Win XP

Hi,

I am using X-Functions, and want to use user defined classes within.
The header files (.h) and source files (.cpp) of my user defined classes
are stored in path %OriginUserFolder\OriginC
Now, when I want to use the classes I have to copy the header files also
into path %OriginUserFolder\OriginC\X-Functions
...why?
Is there another way to organize the files?
Because for now I allways have to copy the files to the X-Functions folder
after changing a file. I am afraid of mixing older and newer versions of my files.

Id be thankful for help


|-- TreeNode
...|-- a??
...|-- ha!!

Penn

China
644 Posts

Posted - 08/24/2010 :  06:09:44 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

Please try to use the relative path to include the header files. For exampe:

#include "..\xf.h"


Penn
Go to Top of Page

TreeNode

64 Posts

Posted - 08/25/2010 :  06:17:27 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Penn,

...great!!
It works fine.
Thank you very much for advise!


|-- TreeNode
...|-- a??
...|-- ha!!
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000