Re: accessing a library
"Carmen Sei" <fatwallet951@yahoo.com> wrote in message
news:840t04hkt981lmnl808kdiegne38hv9jhs@4ax.com...
Java doesn't follow the deep chian like C++ include header files does.
If you import a java library like java.io.InputStream, you will have
access to InputStream only and doesn't have C++'s chain header files.
Does C++ programmer found the include chain is hard to manage once the
source base grows big? and most of time, one needs to dig into the
header file like 3 level up to find the object/variable is defined.
In Visual Studio you can right-click on a variable and select 'Go To
Definition.' No need to dig into a chain of header files.
Your terminology is not quite appropriate for C++. Header files are not
about libraries, they are more general than that. They are about other code
modules of any kind. Sometimes those code modules are part of the program
in cpp files, other times they are in DLLs, other times they are in a
library.
And header files are not about inheritance. They simply declare the
existence of other items so the compiler will know their type.
--
Scott McPhillips [VC++ MVP]