Re: Automatically generate variables
- From: Yevgen Muntyan <muntyan.removethis@xxxxxxxx>
- Date: Mon, 19 Feb 2007 01:11:50 GMT
Mark McIntyre wrote:
On Sun, 18 Feb 2007 11:15:17 +1300, in comp.lang.c , Ian Collins
<ian-news@xxxxxxxxxxx> wrote:
One has to draw the distinction between extensions to the language (the
&& gcc extension and operator overloading) and platform specific
libraries. It is a fairly straightforward exercise for a developer to
implement a set of functions defined in a library
I'm not sure I'd entirely agree with that. It'd be fairly hard to
implement the Win32 libraries on most embedded systems, I suspect.
Unless "implement" includes returining a noop...
It does, indeed. Point is that calling conventions, preprocessor magic,
syntax are all the same. If your program is
#include <windows.h>
int main (void)
{
return 0;
}
then it's a C program. If your program is
#include <magic.h>
int main (void)
{
return return 1.345e18u87;
}
then it's not.
Anything which conforms to the language defined in the current C
standard is a C program, which includes programs that include
non-standard headers.
Inasmuch as Geordie is still English. Which is to say not with respect
to passing an exam or making yourself understood in Arizona or
Auchtermuchty.
It's good that there is this English language, and nobody knows
now what really is "correct" English, but it doesn't have much
to do with C. What language is the first program posted here? Is
it C? If not, is it "you tell me what it is?". Whatever, that *is*
C even if you don't like Jacob Navia.
Yevgen
.
- Follow-Ups:
- Re: Automatically generate variables
- From: CBFalconer
- Re: Automatically generate variables
- References:
- Automatically generate variables
- From: Nate
- Re: Automatically generate variables
- From: Mark McIntyre
- Re: Automatically generate variables
- From: jacob navia
- Re: Automatically generate variables
- From: Mark McIntyre
- Re: Automatically generate variables
- From: Yevgen Muntyan
- Re: Automatically generate variables
- From: santosh
- Re: Automatically generate variables
- From: Yevgen Muntyan
- Re: Automatically generate variables
- From: santosh
- Re: Automatically generate variables
- From: Ian Collins
- Re: Automatically generate variables
- From: Mark McIntyre
- Automatically generate variables
- Prev by Date: Re: Automatically generate variables
- Next by Date: Re: Requesting advice how to clean up C code for validating string represents integer
- Previous by thread: Re: Automatically generate variables
- Next by thread: Re: Automatically generate variables
- Index(es):
Relevant Pages
|