STL headers problem
Gerald Pfeifer
pfeifer@dbai.tuwien.ac.at
Thu Jul 23 00:15:00 GMT 1998
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/
More information about the Gcc
mailing list