delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/13/13:42:25

Message-ID: <38A6F842.1733F407@ou.edu>
From: David Cleaver <davidis AT ou DOT edu>
X-Mailer: Mozilla 4.7 [en] (Win98; I)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Values in header ?? (urgent)
References: <886bi1$2l0$1 AT cubacola DOT tninet DOT se> <jUyp4.37954$45 DOT 2075784 AT news2 DOT rdc1 DOT on DOT home DOT com>
Lines: 19
Date: Sun, 13 Feb 2000 12:30:26 -0600
NNTP-Posting-Host: 129.15.140.115
X-Complaints-To: usenet AT ou DOT edu
X-Trace: news.ou.edu 950466551 129.15.140.115 (Sun, 13 Feb 2000 12:29:11 CST)
NNTP-Posting-Date: Sun, 13 Feb 2000 12:29:11 CST
Organization: The University of Oklahoma
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hello,

I was wondering why you can do this when I was told just a few weeks ago
that I shouldn't use the underscore character in my header declaration. 
ie, In your example, I shouldn't use __example_h_ , everyone told me
that it should be changed to example_h_ in order to use good programming
style.  Please, I would just like an explanation of why I was told
this.  Thanks for your time.

-David C.
 
> // example.h
> 
> #ifndef __example_h_
> #define __example_h_
> 
> extern bool value; /* note that you do NOT initialize the variable here */
> 
> #endif

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019