"missing endif": Huh?Who?What?

John Rochester john9 at garfield.UUCP
Tue Apr 24 11:25:46 AEST 1984


<  To Eat, or not to Eat?  That is the question...  >

>	The following file elicits the interesting response "missing endif" from cc.
>	Replacing *v/*w with (*v)/(*w) fixes it:
>	
>	---
>	foo (v,w)
>	int *v, *w;
>	{	int k;
>		k = *v/*w;		}
>	---

The problem is that the /* between the v and the w starts a comment...

			John Rochester
			{allegra,ihnp4,philabs,utcsrgv}!garfield!john9



More information about the Comp.lang.c mailing list