Google
  Web www.spinics.net

Re: Renaming of all *.c files in *.cpp or equivalent

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On 02.01.2012 17:44, Denis Loh wrote:
Hi,

I have a big wish for future development: Please rename all c++ files with *.c extensions into *.cpp or equivalent. Many IDEs may cope with *.c and treat them as c++ files. However, if not, you must force the IDE to do that, which is sometimes hard work to do. I think it is lesser work to rename
them and edit the makefile to work with cpp for instance.

I am using cpp as default extension for c++ files for long time now.

What do you think about that?

I like *.c and will stay with it.

If you really need to access the files as *.cpp, you could do

  for i in *.c; do echo ln -sf $i ${i}pp; done

Klaus

_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[Linux Media]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Devices]     [Big List of Linux Books]     [Fedora Users]     [Webcams]     [Fedora Women]     [ALSA Devel]     [Linux USB]

Powered by Linux