Standardization questions (cpp m

dat dat at hpcnoe.UUCP
Sun Oct 14 07:33:00 AEST 1984



	How about this approach:  if the program uses it, it loses it's
previous meaning if not define EXPLICITELY in the user program.  That
way the following would work;  

	lets say 'alpha' is a predefine cpp variable.  Then the
program;

	main()
	{
		printf("%s", alpha); /* or whatever */
	}
would still function as usual, whereas the program;

	main()
	{
	   float alpha;
	   printf("%f", alpha);
	}
would also succeed.

	I would rather have the COMPILER and SYSTEM do the work than the
programmer!  Computers are a tool after all...


			pre-empting a previous definition,
			
				Dave Taylor
				Colorado Networks - HP



More information about the Comp.lang.c mailing list