home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / cplus / 18076 < prev    next >
Encoding:
Internet Message Format  |  1992-12-16  |  1.9 KB

  1. Path: sparky!uunet!pipex!doc.ic.ac.uk!uknet!axion!planet.bt.co.uk!njs
  2. From: njs@planet.bt.co.uk
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Survey: File Extension
  5. Message-ID: <1992Dec16.095946.18938@planet.bt.co.uk>
  6. Date: 16 Dec 92 09:59:46 GMT
  7. References: <1gb1h0INNle2@tsavo.hks.com> <78146@hydra.gatech.EDU> <1992Dec12.014834.926@netcom.com>
  8. Sender: news@planet.bt.co.uk
  9. Organization: DNM42, BT Labs, Martlesham Heath, Ipswich, UK.
  10. Lines: 30
  11. Originator: njs@andromeda
  12.  
  13.  
  14. In article <1992Dec12.014834.926@netcom.com>, erc@netcom.com (Eric Smith) writes:
  15. |> In article <78146@hydra.gatech.EDU> andy@federation.gatech.edu (Andy Register) writes:
  16. |> >In article <1gb1h0INNle2@tsavo.hks.com> webb@hks.com writes:
  17. |> > >I have a survey question for you all:
  18. |> > >
  19. |> > >    What extension do you believe is correct for C++ source code?
  20. |> > >    Is a clear majority winner emerging?  The contenders are: .C, .c
  21. |> > >    and .cxx. 
  22. |> >
  23. |> >don't forget .cpp for all us borland users.
  24. |> >
  25. |> >Toodles
  26. |> >Andy
  27. |> 
  28. |> 
  29. |> That's not just Borland.  A lot of other vendors, such as Microsoft and
  30. |> Zortech, use it too.  I think the reason why a lot of Unix compiler
  31. |> vendors didn't like .cpp and used .cc, .C, .cxx, etc. was that the name
  32. |> C++ wasn't originally intended to be pronounced "see plus plus", as the
  33. |> ++ operator was originally called the increment operator, and a lot of
  34. |> C programmers considered people who called it "plus plus" to be
  35. |> uneducated.  But that has gradually changed over the years, and now the
  36. |> majority calls C++ "see plus plus" and uses .cpp as the filename
  37. |> extension.  So we might as well standardize on .cpp, because that's the
  38. |> way it's going anyway and no one can stop it.
  39.  
  40. Who are you trying to kid?  I've been using this language for years and I have only seen .ccp with my Zortech stuff, and I changed that real quick.  I like .cc, and having .cpp on UNIX platform which has a cpp executable might be a bit confusing for some people.
  41.  
  42. Nathan
  43.