On Sun, Sep 30, 2012 at 7:23 PM, Kaz Kojima <[email protected]> wrote: > Oleg Endo <[email protected]> wrote: >> The existing .c files are compiled as C++ already. There was a >> discussion not long go whether the .c files should be renamed to .cc or >> not. If I remember correctly, the conclusion was that existing .c files >> remain .c, while files newly added should be .cc. gcc/double-int.c >> would probably one of the recent examples. > > Ah, I've missed that argument. Then can we use STL classes in .c now?
Yes. The existing file extensions ".c" do not mean "C" only. -- Gaby
