I'm not so sure about that, actually. Traditionally, the 'X times on the
blackboard' spec has not included newlines at the end of the statement -
with sentances that don't take up the entire width, it's a waste of space.
See Bart's example text on the blackboard, from the Simpsons intro:

http://picassomoon.com/products/posters/p1945.jpg

So I'd say it's less a bug, and more an implementation of the
specification that differs from what your friend is familiar with. It
could perhaps use a space after the ., but again... it all depends on the
preference of the coder (and possibly management).

-Brad

Ken Barber said:
> This just in, from a friend of mine:
>
> ----------  Forwarded Message  ----------
>
> Subject: RE: Wow, a comic-strip author that knows C
> Date: Friday 03 October 2003 11:32
> From: "Peter Shearer" <[EMAIL PROTECTED]>
> To: "Ken Barber" <[EMAIL PROTECTED]>
>
> Well, there's a bug in his code.  He needs a newline character at
>  the end of the printf statement, or else the statements will all
>  be on one line (albeit maybe wrapped).  However, in the
>  strictest interpretation of the assignment, the teacher is
>  obviously not going to accept the output of the app as
>  fulfillment of the requirements.
>
> Please see my diff below; perhaps upon proper application, the
>  teacher will accept his work.  I would submit it to Bugzilla for
>  this project, but I do not know the proper contact information.
>
>  :)
>
> --- foxtrot.c 2003-10-03 11:22:53.000000000 -0700
> +++ foxtrot.c.orig    2003-10-03 11:22:46.000000000 -0700
> @@ -4,6 +4,6 @@
>  {
>       int count;
>       for( count=1; count <= 500; count++ )
> -             printf("I will not throw paper airplanes in class.\n");
> +             printf("I will not throw paper airplanes in class.");
>       return 0;
>  }
>
>> -----Original Message-----
>> From: Ken Barber [mailto:[EMAIL PROTECTED]
>> Sent: Friday, October 03, 2003 11:13 AM
>> To: Mid-Willamette Valley Linux Users Group
>> Subject: Wow, a comic-strip author that knows C
>>
>>
>> http://www.ucomics.com/foxtrot/2003/10/03/
>>
>> Now, THAT's cool!
>
> -------------------------------------------------------
>
> _______________________________________________
> EuG-LUG mailing list
> [EMAIL PROTECTED]
> http://mailman.efn.org/cgi-bin/listinfo/eug-lug



_______________________________________________
EuG-LUG mailing list
[EMAIL PROTECTED]
http://mailman.efn.org/cgi-bin/listinfo/eug-lug

Reply via email to