home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: sparky!uunet!cs.utexas.edu!wupost!csus.edu!netcom.com!erc
- From: erc@netcom.com (Eric Smith)
- Subject: Re: Survey: File Extension
- Message-ID: <1992Dec12.014834.926@netcom.com>
- Organization: Netcom - Online Communication Services (408 241-9760 guest)
- References: <1gb1h0INNle2@tsavo.hks.com> <78146@hydra.gatech.EDU>
- Date: Sat, 12 Dec 1992 01:48:34 GMT
- Lines: 24
-
- In article <78146@hydra.gatech.EDU> andy@federation.gatech.edu (Andy Register) writes:
- >In article <1gb1h0INNle2@tsavo.hks.com> webb@hks.com writes:
- > >I have a survey question for you all:
- > >
- > > What extension do you believe is correct for C++ source code?
- > > Is a clear majority winner emerging? The contenders are: .C, .c
- > > and .cxx.
- >
- >don't forget .cpp for all us borland users.
- >
- >Toodles
- >Andy
-
-
- That's not just Borland. A lot of other vendors, such as Microsoft and
- Zortech, use it too. I think the reason why a lot of Unix compiler
- vendors didn't like .cpp and used .cc, .C, .cxx, etc. was that the name
- C++ wasn't originally intended to be pronounced "see plus plus", as the
- ++ operator was originally called the increment operator, and a lot of
- C programmers considered people who called it "plus plus" to be
- uneducated. But that has gradually changed over the years, and now the
- majority calls C++ "see plus plus" and uses .cpp as the filename
- extension. So we might as well standardize on .cpp, because that's the
- way it's going anyway and no one can stop it.
-