TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: MARTIN SVENSSON
from: BERK OZBOZKURT
date: 1997-11-02 00:47:00
subject: void

Hi Martin Svensson,
 DH>> * DOHAPPY(VOID);
 MS> Wait a minute.
 MS> First, most compilers don't support CAPITAL reserved words.
 it is not a support problem, **NO** compiler should "support"(!) capital 
reserved words as C is a case sensetive language. it is perfectly correct to 
define an identifier which matches the reserved words provided that at least 
one of its letters are capitaized. eg:
long int INT;
and you can use preprocessor directives case sensetive (actually you can not 
do otherwise) eg:
#define Void (void *)
so, if a compiler treats VOID as void, For as for, strucT as struct, etc. it 
is making a terrible mistake and might not compile a perfectly portable C 
code. I guess no compiler makes such a terrible mistake. Are you sure some 
compiles actully does this?
                                                Berk
--- GoldED/386 2.50.A0715 UNREG
(2:431/327)
---------------
* Origin: void BBS where nothing but

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.