15 Jun
2004
15 Jun
'04
2:22 a.m.
On ?@, 6 14, 2004 at 17:25:57 -0700, Jeff Wang wrote:
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.
It's possible if your are willing to rename the files to *.cpp (or whatever you preferred C++ extension is). And wrap the same code with: extern "C" { <<original file content>> } -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com - 102708583/icq