This forum has been archived. All content is frozen. Please use KDE Discuss instead.

[SOLVED] Which header file to use When

Tags: None
(comma "," separated)
HWJ
Registered Member
Posts
18
Karma
0
Is there any documentation about the hierarchy of header files and
when to use which one?

I've been bitten by using only Eigen/Core but using Random.
That's hard for a beginner!

Helmut.

Last edited by ggael on Mon Mar 09, 2009 11:16 am, edited 1 time in total.
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS

RE: Which header file to use When

Sat Feb 28, 2009 3:20 pm
yes this is documented every where in the doc. You have one header per module. For each function/class which are not in the Core module the documentation recalls you what is its respective module and which header has to be included. You also have one documentation page per module which explain what does the module contains. The tutorial also warns when a function is in the Array module. Honestly, I don't know what to do in addition to all these warnings!
HWJ
Registered Member
Posts
18
Karma
0

RE: Which header file to use When

Sat Feb 28, 2009 3:50 pm
ggael wrote:yes this is documented every where in the doc. You have one header per module. For each function/class which are not in the Core module the documentation recalls you what is its respective module and which header has to be included. You also have one documentation page per module which explain what does the module contains. The tutorial also warns when a function is in the Array module. Honestly, I don't know what to do in addition to all these warnings!

OK, and what is if I need functionality from several headers.
Just include them all?

Thanks for being patient!
Helmut.
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS

RE: Which header file to use When

Sat Feb 28, 2009 4:09 pm
HWJ wrote:
ggael wrote:yes this is documented every where in the doc. You have one header per module. For each function/class which are not in the Core module the documentation recalls you what is its respective module and which header has to be included. You also have one documentation page per module which explain what does the module contains. The tutorial also warns when a function is in the Array module. Honestly, I don't know what to do in addition to all these warnings!

OK, and what is if I need functionality from several headers.
Just include them all?

Thanks for being patient!
Helmut.


yes, but of course since Array depends on Core including Array automatically include Core, etc.


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], rblackwell