This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: STL headers problem


On Wed, 22 Jul 1998, Jordi de Antonio wrote:
> What's the difference between header files whit '.h' and without (p.e.
> <vector.h> and <vector>). I've always used '.h' one's, but now I'm
> having troube while porting the system to Visual C++ that doesn't have
> '.h' versions. I would like to know the difference before start to do
> changes.

The headers without .h (e.g. <vector>) are the standard ones, while
those with .h (e.g., <vector.h>) are there mostly/only for backwards
compatibility.

I'd recommend switching to the non-.h versions.

Gerald
-- 
Gerald Pfeifer (Jerry)      Vienna University of Technology
pfeifer@dbai.tuwien.ac.at   http://www.dbai.tuwien.ac.at/~pfeifer/



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]