From: Gioele B. <de...@gi...> - 2001-08-09 14:12:23
|
On Thursday 09 August 2001 07:33, you wrote: > > From: Gioele Barabucci <de...@gi...> > > Subject: [Linux-fbdev-devel] Why .C extension? > > > > I see that in the subdirs the files are named .C like cpp sources and > > are=3D =3D20 > > also compiled with g++. Why? Just to use the // comments? > > A good place to find your answers will be: man gcc or info gcc. all I got is: `FILE.cc' `FILE.cxx' `FILE.cpp' `FILE.C' C++ source code which must be preprocessed. Note that in `.cxx', the last two letters must both be literally `x'. Likewise, `.C' refers to a literal capital C. `-C' Rename files to end in `.C' instead of `.c'. This is convenient if you are converting a C program to C++. This option applies only to `protoize'. Can you point me to something more specific? Is there a conversion to C++ in progress? list.C ando other files in lib/= =20 use classes. I also see some classes in include/{framebuffer,database}.h... --=20 Gioele Barabucci (Gb]) ) mailto:de...@gi... ) http://www.gioelebarabucci.com ) ) I've been and now I've gone ) ) /Magic Pie^Oasis |