Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Oct 27th, 2005, 6:45 PM   #21
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Google for a definition of the word, "pseudo," why don't you? Sheesh. The pseudo-compiler in your head-bone rarely flags a fatal error in syntax....
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Oct 27th, 2005, 8:12 PM   #22
Silvanus
Hobbyist Programmer
 
Silvanus's Avatar
 
Join Date: Aug 2005
Location: Hiding from... them...
Posts: 110
Rep Power: 4 Silvanus is on a distinguished road
Quote:
Originally Posted by Ghost
Correct, but from that link someone gave...it looks like I'm wrong. Don't worry about it, it's one of those crappy languages like perl or something
No, you were right the first time. Look at the guy's code! Does it look anything at all like perl (or for that matter, low-level)? Pseudocode is a way of explaining what you want the code to do in something like English, before you code it. I've never used it; friends in programming classes tell me they code first, pseudocode after to make the teacher happy.
__________________
:wq
Silvanus is offline   Reply With Quote
Old Oct 30th, 2005, 1:34 AM   #23
bl00dninja
Programming Guru
 
bl00dninja's Avatar
 
Join Date: Oct 2004
Location: namespace std
Posts: 1,246
Rep Power: 6 bl00dninja is on a distinguished road
Quote:
Don't use MS-Word to program it adds unecessary BS to the file.
Get Vi or Emacs, hell even notepad is better than word.
unless you save it with a .txt file extension, but yeah, for that crap don't bother with word, if you WANT to use a text editor check out notepad++ on sourceforge.

pseudocode can be like:

get the file

parse strings to get employee names

parse strings and convert to int/float to get hours or pay

do some shit to get overtime results

that's NOT what YOU want, but it's fine pseudocode...it's plain speech for describing what your program does in logical order. and yeah, printing the input file is a damn waste of time. what YOU want is more like:
read file

find employees with hours>40

print all relevant info on those employees (for the pay period)
__________________
i put on my robe and wizard hat...

Have you ever heard of Plato, Aristotle, Socrates?...Morons.
bl00dninja is offline   Reply With Quote
Old Nov 2nd, 2005, 2:00 PM   #24
Ghost
Man Bear Pig Hunter
 
Ghost's Avatar
 
Join Date: Jul 2005
Location: NorCal, USA
Posts: 295
Rep Power: 4 Ghost is on a distinguished road
Bloodninja is right, good post.
Ghost is offline   Reply With Quote
Old Jan 20th, 2006, 12:09 PM   #25
pistalwhipped
Newbie
 
Join Date: Jan 2006
Posts: 3
Rep Power: 0 pistalwhipped is on a distinguished road
its called wikipedia...

http://en.wikipedia.org/wiki/Pseudocode

use it.
pistalwhipped is offline   Reply With Quote
Old Jan 20th, 2006, 12:28 PM   #26
OpenLoop
Expert Programmer
 
OpenLoop's Avatar
 
Join Date: May 2005
Location: East Lansing, MI
Posts: 663
Rep Power: 4 OpenLoop is on a distinguished road
um, yea... this is a two months old thread.
OpenLoop is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

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




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 5:37 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC