calling a code

Hi all
I have a code that produces two vector called x and y,
I want to use these vectors in another code,
How can I do that?
maybe this question is absurd, because I'm really beginner.
Thank you
Yeki
Well, can I see the code you're mentioning?
closed account (DEUX92yv)
You want to create vectors with one program, and use them in another program? Is it possible to combine these programs? That is by far the least painful method. If not, write the two vectors to a file (or one file each) and read from those files in the second program.
Thank you for your guidance, but I can't understand how to use file, can you provide me a short example?
Thank you again
Well, are these two vectors in their own classes as of right now, or embedded in the main() function of a different code?
Topic archived. No new replies allowed.