Type modifiers in C
Peter da Silva
peter at graffiti.UUCP
Sun Nov 3 14:12:20 AEST 1985
> sense the static-vs-automatic distinction should be propagated. (In some
> languages it would be prohibited to assign the address of an automatic
> variable to a more global pointer--i.e., a pointer whose extent exceeds
> that of the variable.)
I hope they never put that in 'C'. After all...
char *myname;
usage(s)
char *s;
{
fprintf(stderr, "Unknown flag %s.\nUsage: %s ....\n", s, myname);
}
main(ac, av)
int ac;
char **av;
{
...
myname=av[0];
...
usage(av[i]);
}
--
Name: Peter da Silva
Graphic: `-_-'
UUCP: ...!shell!{graffiti,baylor}!peter
IAEF: ...!kitty!baylor!peter
More information about the Comp.lang.c
mailing list