This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: STL headers problem
- To: Jordi de Antonio <j_antonio at mtsa dot com>
- Subject: Re: STL headers problem
- From: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
- Date: Thu, 23 Jul 1998 09:15:03 +0200 (MET DST)
- cc: egcs at cygnus dot com, j_antonio at bigfoot dot com
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/