[petsc-dev] Use of '//' comments in C source
Barry Smith
bsmith at mcs.anl.gov
Thu Sep 22 14:38:39 CDT 2011
I cannot remember why or when I rejected using a different suffix for C++ code but I agree using .cxx is better than .c and includes should also be different .hxx?
Barry
On Sep 22, 2011, at 1:16 PM, Sean Farley wrote:
> But not *.c. I don't care what you use, dammit, just be consistent and don't use *.c for C++-only code.
>
> If this is a time to chime in, I would prefer *.cxx as the C++ extension. One of my collaborators using *.cpp for doing funky c-prepocessing.
>
> Sean
More information about the petsc-dev
mailing list