Today's Foxtrot... Hehe!

Page 2 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.

conjur

No Lifer
Jun 7, 2001
58,686
3
0
Originally posted by: anxi80
Originally posted by: conjur
Repost

But the original has a badly worded title ;)
this is the original. the one linked is the repost. :D

DOH!!!

<--- wipes egg off face


I need to go home....augh...been doing documentation all day. My mind is mush.
 

nitsuj3580

Platinum Member
Jun 13, 2001
2,668
14
81
Originally posted by: WannaFly
Hah thats pretty cool except the output would look like this

I will not throw paper airplanes in class.I will not throw paper airplanes in class.I will not throw paper airplanes in class.I will not throw paper airplanes in class.I will not throw paper airplanes in class.I will not throw paper airplanes in class.I will not throw paper airplanes in class.I will not throw paper airplanes in class.

forgot to add \n

:D

have you ever seen a show where they have a kid write, "I will not..." 100+ times? They always just write from left to right til they reach the end of the chalk board then go back to the far left side on the next line to continue exactly how you just wrote "i will not throw paper airplanes in class" over and over again. They don't start a new line every time they write it.

In this case, no \n is needed :)
 

rgwalt

Diamond Member
Apr 22, 2000
7,393
0
0
Originally posted by: xcript
Originally posted by: SaltBoy
Originally posted by: NogginBoink
Originally posted by: xcript
Oh dear, the outputted strings are not newline-terminated. :confused:

I noticed that myself. Kinda makes the comic not-quite-as-funny.
I hope you're not being serious. :confused:

We are. Here's a patch:


---------------------------- Cut here -----------------------------
--- foo.c 2003-10-03 06:21:58.000000000 -0700
+++ bar.c 2003-10-03 06:21:52.000000000 -0700
@@ -4,7 +4,7 @@
int count;

for(count=1; count<=500; count++)
- printf("I will not throw paper airplanes in class.");
+ printf("I will not throw paper airplanes in class.\n");

return 0;
}
---------------------------- Cut here -----------------------------

You guys are huge, vapid geeks. :p

R
 

dullard

Elite Member
May 21, 2001
26,189
4,855
126
Originally posted by: nitsuj3580
have you ever seen a show where they have a kid write, "I will not..." 100+ times? They always just write from left to right til they reach the end of the chalk board then go back to the far left side on the next line to continue exactly how you just wrote "i will not throw paper airplanes in class" over and over again. They don't start a new line every time they write it.

In this case, no \n is needed :)
You beat me to it. There is no way of legibly writing that sentence 500 times on that small chalkboard with chalk if you use a new line each time.
 

MegaloManiaK

Golden Member
May 27, 2003
1,207
0
0
Originally posted by: nitsuj3580
Originally posted by: WannaFly
Hah thats pretty cool except the output would look like this

I will not throw paper airplanes in class.I will not throw paper airplanes in class.I will not throw paper airplanes in class.I will not throw paper airplanes in class.I will not throw paper airplanes in class.I will not throw paper airplanes in class.I will not throw paper airplanes in class.I will not throw paper airplanes in class.

forgot to add \n

:D

have you ever seen a show where they have a kid write, "I will not..." 100+ times? They always just write from left to right til they reach the end of the chalk board then go back to the far left side on the next line to continue exactly how you just wrote "i will not throw paper airplanes in class" over and over again. They don't start a new line every time they write it.

In this case, no \n is needed :)


Everytime ive had to do "write-offs" on the chalkboard you started a new line each time and then at the bottom started a new row.

 

Originally posted by: MegaloManiaK
Originally posted by: nitsuj3580
Originally posted by: WannaFly
Hah thats pretty cool except the output would look like this

I will not throw paper airplanes in class.I will not throw paper airplanes in class.I will not throw paper airplanes in class.I will not throw paper airplanes in class.I will not throw paper airplanes in class.I will not throw paper airplanes in class.I will not throw paper airplanes in class.I will not throw paper airplanes in class.

forgot to add \n

:D

have you ever seen a show where they have a kid write, "I will not..." 100+ times? They always just write from left to right til they reach the end of the chalk board then go back to the far left side on the next line to continue exactly how you just wrote "i will not throw paper airplanes in class" over and over again. They don't start a new line every time they write it.

In this case, no \n is needed :)


Everytime ive had to do "write-offs" on the chalkboard you started a new line each time and then at the bottom started a new row.

Me too.

In the Simpsons, bart always starts a new line for every sentence.
 

Evadman

Administrator Emeritus<br>Elite Member
Feb 18, 2001
30,990
5
81
you know you are a geek if you look for coding errors in a comic :)