Go to Post You can't just leave us hanging! That was SOOO 2010! - nighterfighter [more]
Home
Go Back   Chief Delphi > Other > Chit-Chat
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 04-10-2003, 10:44
Andrew Rudolph's Avatar
Andrew Rudolph Andrew Rudolph is offline
Git 'em!
no team (Robot in 3 Days)
Team Role: Mentor
 
Join Date: May 2001
Rookie Year: 2000
Location: Orlando, FL
Posts: 921
Andrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond repute
Send a message via AIM to Andrew Rudolph
Some code in C that we may need if we are in trouble

Attached is a funny comic using C...enjoy!
Attached Thumbnails
Click image for larger version

Name:	ccode.gif
Views:	708
Size:	13.4 KB
ID:	1545  
__________________
iR3 Creative Engineering
Robot in 3 Days

FTC 6323 The Pink TeamMentor
FTC 8996 Pink Fluffy BunniesMentor
FRC 233 The Pink Team Mentor
FRC 1902 Exploding Bacon Mentor
Reply With Quote
  #2   Spotlight this post!  
Unread 04-10-2003, 10:54
mattf mattf is offline
Registered User
#0168 (The Flashbacks)
Team Role: Programmer
 
Join Date: Apr 2003
Location: Miami
Posts: 27
mattf is on a distinguished road
Send a message via AIM to mattf
hah, that's great, but he forgot to print \n
__________________
2004 UCF Quarterfinalists! (168, 79, 710)
2003 UCF Regional Champions! (212, 168, 108)
Reply With Quote
  #3   Spotlight this post!  
Unread 04-10-2003, 11:37
Tytus Gerrish's Avatar
Tytus Gerrish Tytus Gerrish is offline
IGAB, ADHD, and Dislexic
AKA: Ty
FRC #0179 (SwampThing)
Team Role: Tactician
 
Join Date: Feb 2003
Rookie Year: 2001
Location: West Palm Beach, Florida
Posts: 2,017
Tytus Gerrish has a reputation beyond reputeTytus Gerrish has a reputation beyond reputeTytus Gerrish has a reputation beyond reputeTytus Gerrish has a reputation beyond reputeTytus Gerrish has a reputation beyond reputeTytus Gerrish has a reputation beyond reputeTytus Gerrish has a reputation beyond reputeTytus Gerrish has a reputation beyond reputeTytus Gerrish has a reputation beyond reputeTytus Gerrish has a reputation beyond reputeTytus Gerrish has a reputation beyond repute
OMG!
if you understand this its funny
Reply With Quote
  #4   Spotlight this post!  
Unread 04-10-2003, 14:39
djcapelis's Avatar
djcapelis djcapelis is offline
Fried Manic Custard
None #0675 (Geeks with Power Tools)
Team Role: Programmer
 
Join Date: May 2003
Rookie Year: 2001
Location: Rohnert Park, CA
Posts: 129
djcapelis will become famous soon enoughdjcapelis will become famous soon enough
Send a message via ICQ to djcapelis Send a message via AIM to djcapelis Send a message via Yahoo to djcapelis
They did another one like this, it was using applescript then... (I think...) it's good to see they've migrated their jokes to a real language.
__________________
"I have more friends than enemies, I'm working to resolve the issue."
Reply With Quote
  #5   Spotlight this post!  
Unread 04-10-2003, 16:39
Ian W. Ian W. is offline
College? What?
no team (Gompei and the Herd)
Team Role: College Student
 
Join Date: Jan 2002
Rookie Year: 2002
Location: Worcester, MA | Smithtown, NY
Posts: 1,464
Ian W. is a name known to allIan W. is a name known to allIan W. is a name known to allIan W. is a name known to allIan W. is a name known to allIan W. is a name known to all
Send a message via AIM to Ian W.
Quote:
Originally posted by mattf
hah, that's great, but he forgot to print \n
I'm sorry, but that's just sad (even though I probably would've said it if you didn't ).
__________________
AIM --> Woloi
Email --> ian@woloschin.com
Reply With Quote
  #6   Spotlight this post!  
Unread 04-10-2003, 17:21
Raven_Writer's Avatar
Raven_Writer Raven_Writer is offline
2004 Detroit & Pittsburgh Winners
AKA: Eric Hansen
FRC #0005 (RoboCards)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2002
Location: Melvindale
Posts: 1,549
Raven_Writer is just really niceRaven_Writer is just really niceRaven_Writer is just really niceRaven_Writer is just really niceRaven_Writer is just really nice
Send a message via ICQ to Raven_Writer Send a message via AIM to Raven_Writer Send a message via MSN to Raven_Writer Send a message via Yahoo to Raven_Writer
Quote:
Originally posted by mattf
hah, that's great, but he forgot to print \n
Actually, you don't need the \n.

Like in the Bloodshed Dev-C++ 4.0.1 compiler/IDE, you just did something like
Code:
printf("asdfasdfasdf");
and it'd come out as:
asdfasdfasdf

press any key....

[Sorry, just felt like pointing that out]

FotoPlasma posted this same comic in a different thread, and I saw this yesterday while sifting through the newspaper (those are so boring, thus I go straight and only look at the comics).

NOTE: I don't use Dev-C++ anymore, I use Microsoft Visual Studio .NET and Microsoft Visual C++ 6.0 Enterprise Edition
__________________
AIM: wisprmylastbreth
EMail: nightskywriter@gmail.com
Y!: synsoflife

"ai yoru ga" -- "Love the nights"

Last edited by Raven_Writer : 04-10-2003 at 17:32.
Reply With Quote
  #7   Spotlight this post!  
Unread 04-10-2003, 17:30
Yan Wang's Avatar
Yan Wang Yan Wang is offline
Ithaca is Gorges
AKA: John Wayne
FRC #0639 (Code Red Robotics)
Team Role: Alumni
 
Join Date: Sep 2002
Rookie Year: 2001
Location: Cambridge, MA
Posts: 1,910
Yan Wang has much to be proud ofYan Wang has much to be proud ofYan Wang has much to be proud ofYan Wang has much to be proud ofYan Wang has much to be proud ofYan Wang has much to be proud ofYan Wang has much to be proud ofYan Wang has much to be proud ofYan Wang has much to be proud of
Send a message via ICQ to Yan Wang Send a message via AIM to Yan Wang Send a message via MSN to Yan Wang Send a message via Yahoo to Yan Wang
Yes, I was very surprised to see the comic yesterday because years ago, there was one in Applescript.

Also, \n is needed, Raven... your IDE just is acting nice and putting each new call on a new line. I use DEVC++ sometimes too.

Heh, our team's electrical engineer sent out a team email about teaching people C, and his wife pointed out the comic immediately after he sent out the email - what a coinkydink.
__________________
Code Red Robotics Team 639 Alumnus | www.team639.org
<Patrician|Away> what does your robot do, sam
<bovril> it collects data about the surrounding environment, then discards it and drives into walls
Reply With Quote
  #8   Spotlight this post!  
Unread 04-10-2003, 19:33
Melissa Nute's Avatar
Melissa Nute Melissa Nute is offline
I like my hammer...
no team
Team Role: Engineer
 
Join Date: Feb 2002
Rookie Year: 2001
Location: Naples, FL
Posts: 1,246
Melissa Nute has a reputation beyond reputeMelissa Nute has a reputation beyond reputeMelissa Nute has a reputation beyond reputeMelissa Nute has a reputation beyond reputeMelissa Nute has a reputation beyond reputeMelissa Nute has a reputation beyond reputeMelissa Nute has a reputation beyond reputeMelissa Nute has a reputation beyond reputeMelissa Nute has a reputation beyond reputeMelissa Nute has a reputation beyond reputeMelissa Nute has a reputation beyond repute
Send a message via AIM to Melissa Nute
This makes me happy...
Reply With Quote
  #9   Spotlight this post!  
Unread 06-10-2003, 01:15
Greg Ross's Avatar
Greg Ross Greg Ross is offline
Grammar Curmudgeon
AKA: gwross
FRC #0330 (Beach 'Bots)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Hermosa Beach, CA
Posts: 2,245
Greg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond repute
Send a message via AIM to Greg Ross Send a message via Yahoo to Greg Ross
Quote:
Originally posted by mattf
hah, that's great, but he forgot to print \n
Also, "real" C programmers start counting with 0, not with 1. It "should" be:
Code:
for (count=0;count<500;count++)
__________________
Greg Ross (The Grammar Curmudgeon formerly known as gwross)
S/W Engineer, Team 330, the Beach 'Bots
<--The Grammar Curmudgeon loves this cartoon.
“Life should not be a journey to the grave with the intention of arriving safely in a pretty and well preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming "Wow! What a Ride!" Hunter S. Thompson
"Playing a practical joke means doing something mean and calling it funny." Me
Reply With Quote
  #10   Spotlight this post!  
Unread 06-10-2003, 09:43
Trashed20's Avatar
Trashed20 Trashed20 is offline
Boom, Shawalala Boom!
#0862 (PCEP Lighting)
 
Join Date: Jan 2002
Location: Canton, MI
Posts: 528
Trashed20 will become famous soon enough
Send a message via AIM to Trashed20
yeah, my old c++ teacher would kill us if we started from one. Good comic.
__________________
Where has all the fun gone?
Reply With Quote
  #11   Spotlight this post!  
Unread 07-10-2003, 09:47
Trashed20's Avatar
Trashed20 Trashed20 is offline
Boom, Shawalala Boom!
#0862 (PCEP Lighting)
 
Join Date: Jan 2002
Location: Canton, MI
Posts: 528
Trashed20 will become famous soon enough
Send a message via AIM to Trashed20
now that i think about it, you wouldn't need a new line return. when you write out things like that on a chalk board you go all the way across and down, so no new line is needed

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. 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. I will not throw paper airplanes in class. I will not throw paper airplanes in class.
__________________
Where has all the fun gone?
Reply With Quote
  #12   Spotlight this post!  
Unread 07-10-2003, 10:04
Joel J's Avatar
Joel J Joel J is offline
do you..
no team
 
Join Date: May 2001
Rookie Year: 2000
Location: San Jose, CA
Posts: 1,445
Joel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond repute
Quote:
Originally posted by Trashed20
now that i think about it, you wouldn't need a new line return. when you write out things like that on a chalk board you go all the way across and down, so no new line is needed

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. 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. I will not throw paper airplanes in class. I will not throw paper airplanes in class.
Lol, but there is also no space at the end of the line:

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.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.I will not throw paper airplanes in class.I will not throw paper airplanes in class.

...nitpickers
__________________
Joel Johnson

Division By Zero (229) Alumni, 2003-2007
RAGE (173) Alumni, 1999-2003
Reply With Quote
  #13   Spotlight this post!  
Unread 07-10-2003, 19:17
SeanCassidy's Avatar
SeanCassidy SeanCassidy is offline
Antiregistered User
#0263 (Aftershock)
Team Role: Programmer
 
Join Date: Oct 2003
Location: Holtsville, NY
Posts: 37
SeanCassidy is an unknown quantity at this point
Or you could have it just enough so that three lines fit and then throw in a newline like so:

Code:
#include <cstdio>
using namespace std;

main()
{
     int i = 0, n = 0;     

     while( i < 500 )
     {
        printf("I will not throw paper airplanes in class.");
        i++;
        n++;
        if( n == 3)
        {
           printf("\n");
           n = 0;
        }
     }
     return 0;
}
Shows how much free time I have. Hehe
Reply With Quote
  #14   Spotlight this post!  
Unread 07-10-2003, 19:31
KenWittlief KenWittlief is offline
.
no team
Team Role: Engineer
 
Join Date: Mar 2003
Location: Rochester, NY
Posts: 4,213
KenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond repute
I would have skipped the count, and used a goto at the end to create an infinite loop

and let it run all night

the next day every blackboard in the school would be completely covered in chalk 1" deep!
Reply With Quote
  #15   Spotlight this post!  
Unread 07-10-2003, 19:48
FotoPlasma FotoPlasma is offline
\: |
no team
 
Join Date: Jul 2001
Rookie Year: 2001
Location: San Jose
Posts: 1,900
FotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond repute
Send a message via AIM to FotoPlasma
Quote:
Originally posted by SeanCassidy
[post]
Actually, I think you want to test n with "if( n % 3 == 0 )". I love the modulus operator.

<edit>
Oh, sorry. You're using different indexes. Heh. Either way, good idea.
</edit>
__________________
I played hacky sack with Andy Baker.

2001-2004: Team 258, The Sea Dawgs
2005: Team 1693, The Robo Lobos
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What is your most prefered programming language? Hailfire Programming 156 19-01-2005 21:42
Open source Jeff_Rice Programming 16 25-03-2003 23:40
Autonomous code PBoss Programming 7 14-01-2003 15:29
Does your team use the Default code. Jeff McCune General Forum 2 09-01-2003 14:46
Patent source code? Kyle Fenton Chit-Chat 3 20-10-2001 17:53


All times are GMT -5. The time now is 09:07.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi