how has C bitten you?

Barry Shein root at bu-cs.UUCP
Sat Aug 24 16:58:57 AEST 1985


Not really a bite, but I remember when I was first learning C
I was quite bewildered by the fact that you couldn't really
declare your own 'argv', that is, you couldn't declare an
array of pointers to fixed length buffers except perhaps by:

char *myargv[] = {
	"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0",
	"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0",

	etc

I mean, argv seemed kinda holy to me, disturbing.

	-Barry Shein, Boston University

P.S. I know argv is var length, but that would be even harder to declare!



More information about the Comp.unix.wizards mailing list