Mail Archives: djgpp/2000/12/17/21:20:10
Message-ID: | <000201c06898$cc564f20$735c149a@mitchllistar.ca>
|
From: | "Kevin Mitchell" <mitchll AT istar DOT ca>
|
To: | <djgpp AT delorie DOT com>
|
Subject: | Stupid DJGPP questions
|
Date: | Sun, 17 Dec 2000 19:03:58 -0500
|
MIME-Version: | 1.0
|
X-Priority: | 3
|
X-MSMail-Priority: | Normal
|
X-Mailer: | Microsoft Outlook Express 4.72.3110.1
|
X-MimeOLE: | Produced By Microsoft MimeOLE V4.72.3110.3
|
Reply-To: | djgpp AT delorie DOT com
|
Hi All!
I am (slowly!) working my way through "The C++ Programming Language" and
have been having difficulty with any question that invovles "how does your
compiler behave?" I've searched through all the documentation that I have
available to me... including the "info" files, "how-to" files, newsgroup
FAQ's... and found no answers. Can somebody, please, suggest where I might
find the answers to the following oh-so-simple questions?
I am compiling my programs using Linux+GCC and Windows+DJGPP (two versions,
of course, of the same program).
What is the longest local name you can use in a C++ program on your system?
What is the longest external name you can use in a C++ program on your
system? Are there any restrictions on the characters you can use in a name?
What, on your system, are the restrictions on the pointer types char*,
int*, and void*? For example, may and int have an odd value? Hint:
alignment.
I can't *believe* the degree of difficulty I've been having answering these
really simple questions. As much as I dislike the idea of moving to Visual
C++ (it would be kinda overkill for what I'm doing)... I just *know* that I
would have the answer to these questions in about 3 mouse clicks...
Regards,
Kevin Mitchell
Toronto, Canada
- Raw text -