Go to Post Figuring out how to do something is half of the fun. - Mike [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 03-11-2004, 18:15
dark.shadow15's Avatar
dark.shadow15 dark.shadow15 is offline
Unregistered User
AKA: Ray
#1241 (Theory6 Robotics)
Team Role: Student
 
Join Date: Oct 2004
Rookie Year: 2004
Location: Mississauga, Ontario, Canada
Posts: 5
dark.shadow15 has a little shameless behaviour in the past
Post Pseudo-Code

Hi Guys,

Does anyone have any excellent tutorials for writing Psuedo-Code? Our team needs it to start planning our code for the upcoming season. PM me if you have any links, etc.
__________________
Team 1241-Team Hansen Experience of Robotic Youth

Awards Won:
-2004 CMP DaimlerChrysler Team Spirit
-2004 GL Rookie Inspiration Award
-2004 ON DaimlerChrysler Team Spirit
-2004 ON Rookie All-Star
-2004 GL Rookie All-Star
-2003 GL Highest Rookie Seed


Visit Our Team Website

  #2   Spotlight this post!  
Unread 03-11-2004, 18:33
Ryan M. Ryan M. is offline
Programming User
FRC #1317 (Digital Fusion)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Ohio
Posts: 1,508
Ryan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud of
Re: Pseudo-Code

There are more "official" psuedo-code type things, but I'd really just make your own up as you go. Basically, as you think about the code, write it down. Each separate chuck goes on a line of its own, indent lines the farther they are nested (like, if you have a line in a function in an if statement...). Just use plain English, just not in complete sentences (unless you so feel the need).
__________________

  #3   Spotlight this post!  
Unread 03-11-2004, 22:22
wun's Avatar
wun wun is offline
Registered User
AKA: David Wolever
#0865 (Warp7)
Team Role: Programmer
 
Join Date: Dec 2003
Rookie Year: 2001
Location: Toronto
Posts: 84
wun will become famous soon enough
Send a message via AIM to wun Send a message via MSN to wun
Re: Pseudo-Code

Thats the great thing about Pseudo-code - there are no rules. You just do what ever makes sence to you and the other people doing it. It is generally helpfull to write it sort of like real code so its easer to turn in to real code, but, again, what ever ever works for you.
__________________
Help Microsoft stop piracy. Use Linux!

I have three gmail invitations, message me if you want one
  #4   Spotlight this post!  
Unread 04-11-2004, 12:34
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
Re: Pseudo-Code

Quote:
Originally Posted by wun
You just do what ever makes sencesp to you...
You can even make your own spelling, 'cause there's no dumb compiler to have to impress!
__________________
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
  #5   Spotlight this post!  
Unread 04-11-2004, 17:01
wun's Avatar
wun wun is offline
Registered User
AKA: David Wolever
#0865 (Warp7)
Team Role: Programmer
 
Join Date: Dec 2003
Rookie Year: 2001
Location: Toronto
Posts: 84
wun will become famous soon enough
Send a message via AIM to wun Send a message via MSN to wun
Re: Pseudo-Code

Quote:
Originally Posted by gwross
You can even make your own spelling, 'cause there's no dumb compiler to have to impress!
Thats why I love it!
__________________
Help Microsoft stop piracy. Use Linux!

I have three gmail invitations, message me if you want one
  #6   Spotlight this post!  
Unread 05-11-2004, 09:31
cibressus53's Avatar
cibressus53 cibressus53 is offline
Registered User
#1397
 
Join Date: Oct 2004
Location: ajax
Posts: 14
cibressus53 is on a distinguished road
Re: Pseudo-Code

psuedo code has no offical way of writing it, it's just a term used to describe what your going to do.
__________________
EMAIL: TERRYnospamP AHT MELDSTARspammenot DAWT COM
  #7   Spotlight this post!  
Unread 11-11-2004, 11:07
CrashZero's Avatar
CrashZero CrashZero is offline
Computer Nerd
#1352 (Huskie Robotics)
Team Role: Programmer
 
Join Date: Mar 2004
Location: Stratford Northwestern
Posts: 44
CrashZero will become famous soon enoughCrashZero will become famous soon enough
Re: Pseudo-Code

pseudo-code is whatever makes sence to you. Make sure that you know what is sopposed to happen when, thats all that matters
__________________
This is our world now... the world of the electron and the switch, the beauty of the baud. We make use of a service already existing without paying for what could be dirt-cheap if it wasn't run by profiteering gluttons, and you call us criminals. We explore... and you call us criminals. We seek after knowledge... and you call us criminals. We exist without skin color, without nationality, without religious bias... and you call us criminals. You build atomic bombs, you wage wars, you murder, cheat, and lie to us and try to make us believe it's for our own good, yet we're the criminals. Yes, I am a criminal. My crime is that of curiosity. My crime is that of judging people by what they say and think, not what they look like. My crime is that of outsmarting you, something that you will never forgive me for. I am a hacker, and this is my manifesto. You may stop me, but you can't stop us all...

quote from:

+++ The Mentor +++
Closed Thread


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
Sourceforge for Code Repository and other stuff SilverStar Programming 9 15-01-2005 21:16
heres the code. y this not working omega Programming 16 31-03-2004 15:18
Inserting Naviagation code into Default code? actorindp Programming 3 28-01-2004 18:12
Does your team use the Default code. Jeff McCune General Forum 2 09-01-2003 14:46


All times are GMT -5. The time now is 02:51.

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