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
 All Forums
 Origin Forum for Programming
 Forum for Origin C
 organize .h and .cpp files

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
TreeNode Posted - 08/24/2010 : 03:06:34 AM
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!!
2   L A T E S T    R E P L I E S    (Newest First)
TreeNode Posted - 08/25/2010 : 06:17:27 AM
Hi Penn,

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


|-- TreeNode
...|-- a??
...|-- ha!!
Penn Posted - 08/24/2010 : 06:09:44 AM
Hi,

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

#include "..\xf.h"


Penn

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000