home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / cplus / 17841 < prev    next >
Encoding:
Text File  |  1992-12-11  |  1.4 KB  |  35 lines

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