home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: sparky!uunet!newsflash.concordia.ca!sifon!homer.cs.mcgill.ca!news
- From: iceman@honey.cs.mcgill.ca
- Subject: C coding style
- Message-ID: <1992Nov20.213253.386@cs.mcgill.ca>
- Sender: news@cs.mcgill.ca (Netnews Administrator)
- Organization: SOCS, McGill University, Montreal, Canada
- Distribution: NA
- Date: Fri, 20 Nov 1992 21:32:53 GMT
- Lines: 14
-
- Hello,
-
- What kind of convention is usually used for naming global variables?
- I know Apple recommends adding a lower-case 'g' in front of the
- variable name, e.g. gDeviceList. However, when using multi-file
- projects, this doesn't differentiate between static globals (private
- to the module) and extern globals (public globabls that can be
- refered to from outside the module they're declared in).
-
- --
- ----------------------------------------
- McGill University E-mail: iceman@cs.mcgill.ca
- School Of Computer Science Tuan Huynh
-
-