Boost logo

Boost Users :

From: Ying-Chieh Liao (ijliao_at_[hidden])
Date: 2004-06-14 19:42:09


On ¤@, 6 14, 2004 at 17:25:57 -0700, Jeff Wang wrote:
> Dear Lists,
>
> I am working on a projects which was written in C
> (*.c), is there any way to use STL Vector or Boost
> Smart pointer class in this original C codes.
>
> WHen I compiled these C codes with VC6.0++, and
> included with <vector>, the compile give fatal eroor
> C1189: #error :"eh.h is only for C++!",
>
> Any work around without modifying the codes are
> weclomes, thanks.

I dont think you can : C does not provide template
and "template" is the base component of S"T"L :p

-- 
Allocate four digits for the year part of a date : a new millennium is coming.
					--- David Huber



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net