Re: Automatically generate variables



Yevgen Muntyan wrote:

.... snip ...

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

No it isn't. If it had #include "windows.h" it would be. There is
no such header in standard C, but the user is allowed to create all
the headers he wishes elsewhere. All he has to do is provide them.

--
<http://www.cs.auckland.ac.nz/~pgut001/pubs/vista_cost.txt>
<http://www.securityfocus.com/columnists/423>

"A man who is right every time is not likely to do very much."
-- Francis Crick, co-discover of DNA
"There is nothing more amazing than stupidity in action."
-- Thomas Matthews

.



Relevant Pages

  • Re: Automatically generate variables
    ... preprocessor ... syntax are all the same. ... int main ... no such header in standard C, but the user is allowed to create all ...
    (comp.lang.c)
  • Re: Automatically generate variables
    ... syntax are all the same. ... int main ... no such header in standard C, but the user is allowed to create all ... It is a "conforming program", as defined in C99 4p7, as long as ...
    (comp.lang.c)
  • Re: Automatically generate variables
    ... syntax are all the same. ... int main (void) ... no such header in standard C, but the user is allowed to create all ...
    (comp.lang.c)
  • [git patches] net driver updates for .26
    ... Fix a bug where the pointer never moves for dma_unmap... ... Update and fix driver debugging messages ... int reset); ... * header structure can be anywhere in the mcp. ...
    (Linux-Kernel)
  • Re: Which delete statement is faster?
    ... So there is just one mapping pointer and extention ... ** 2) copy the file header attributes from the source directory, ... int sys$open, sys$connect, sys$read, sys$write, sys$close; ... ** We'll use this header to clone the target header into. ...
    (comp.os.vms)