about head file/source file

J

Jinjun Xu

Hi,

I am programming with VC++ (6) in windows.

I am using LASPACK (anyone used it before?), which is a linear equation
solvers package containing many head files and source files. When I want to
call the functions from that package, I use "#include xxx.h" in my file. But
the problem is that then I need to add many related .c files into my
project. It makes my project file view messy. Do you know anyway to solve
this problem? (so that I don't need to add those source files one by one, or
just call a batch file)

Thanks a lot in advance.

JJ
 
V

Victor Bazarov

Jinjun said:
I am programming with VC++ (6) in windows.

I am using LASPACK (anyone used it before?), which is a linear equation
solvers package containing many head files and source files. When I want to
call the functions from that package, I use "#include xxx.h" in my file. But
the problem is that then I need to add many related .c files into my
project. It makes my project file view messy. Do you know anyway to solve
this problem? (so that I don't need to add those source files one by one, or
just call a batch file)

Please post this to microsoft.public.vc.ide_general or
microsoft.public.vc.project_mgt. They will tell you how to
set up your project and other stuff.

It has nothing to do with the language, that's why it's off-
topic here.

Victor
 
J

Jinjun Xu

got it. Thanks.

I just subscribed those two groups. The second one is almost dead and the
first one, almost dying. Few posts are there. I don't expect that I can get
help from there.

I don't know how to remove the post from here. I will just leave it and if
somebody knows the answer, please do me a favor to tell me (maybe reply to
my mailbox directly). Thanks.

JJ
 
B

Branimir Maksimovic

Jinjun Xu said:
Hi,

I am programming with VC++ (6) in windows.

I am using LASPACK (anyone used it before?), which is a linear equation
solvers package containing many head files and source files. When I want to
call the functions from that package, I use "#include xxx.h" in my file. But
the problem is that then I need to add many related .c files into my
project. It makes my project file view messy. Do you know anyway to solve
this problem? (so that I don't need to add those source files one by one, or
just call a batch file)

Thanks a lot in advance.

Did you try to make library of that source files?
I don't program windows, but there must be easy way
to make lib from source files.
When you make a lib then include lib in your project.
If I can do that with autoconf/atutomake and plain text
editor, you can surely do it with IDE which is supposed to
be easier to handle?

Greets, Bane.
 
E

E. Robert Tisdale

Jinjun said:
I am programming with VC++ (6) in windows.

I'm very sorry to hear that.
I am using LASPACK (anyone used it before?),

http://www.netlib.org/utk/papers/iterative-survey/node35.html

No, but I've used LAPACK.
which is a linear equation solvers package
containing many head files and source files.
When I want to call the functions from that package,
I use "#include xxx.h" in my file.

Try

#include "xxx.h"

instead.
But the problem is that
then I need to add many related .c files into my project.
It makes my project file view messy.
Do you know anyway to solve this problem?
(So that I don't need to add those source files one by one?
or just call a batch file)

I found installation instructions for UNIX but not Windows.

http://www.mgnet.org/mgnet/Codes/laspack/html/laspack.html

How did you get it to install? The installation instructions for UXIX
help you build and install a *library*
which is automatically linked into your program.

Follow the [Installation] link at the URL above then click on
the [contact the author] button near the bottom of the page
to get help building this software package for Windows.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,169
Messages
2,570,920
Members
47,464
Latest member
Bobbylenly

Latest Threads

Top