Algorithm Help (1 Viewer)

Wild Dan Hibiki

teh sex0r
Joined
Feb 28, 2004
Messages
649
Gender
Undisclosed
HSC
2004
Im having trouble expressing alorithms in pseudocode and i was wondering if somebody can show me what this flowchart would look like in pseudocode. I'm not even sure if my flow chart is correct so if u see comething wrong in my flowchart (like something that i have written which is wrong) then it would be greatly appreciatd. BTW this is for my major project, i'm creating a media player like winamp.
 
Last edited:

Winston

Active Member
Joined
Aug 30, 2002
Messages
6,128
Gender
Undisclosed
HSC
2003
BEGIN frmSplash

IF Clicked = True THEN

LOAD frmMedia
LOAD frmEquilizer
LOAD frmPlaylist

ELSE

WAIT

END IF

END frmSplash


i have no idea what you're trying to do at WAIT.
 

Wild Dan Hibiki

teh sex0r
Joined
Feb 28, 2004
Messages
649
Gender
Undisclosed
HSC
2004
lol i dunno what to put there thats why
if they dont click on the button then the user will have wait for a few seconds and the forms will load
 

Winston

Active Member
Joined
Aug 30, 2002
Messages
6,128
Gender
Undisclosed
HSC
2003
lol you're not making much sense, i gtg work now so i'll help you later...
 

Wild Dan Hibiki

teh sex0r
Joined
Feb 28, 2004
Messages
649
Gender
Undisclosed
HSC
2004
ok so that was the splash screen right, if they click on the button then they wouldn't have to wait until the splash screen closes. if they don't click on the button then they gotta wait for the forms to load.

what could i put instead of "wait"?

hey im not supposed to put wait there am i? or atleast it shouldn't be a process box

*EDIT* hey now i get what ur going on about, i put those extra lines there for no reason.... LOL silly me, i changed the pic
 
Last edited:

Protector

a little unsane
Joined
Nov 20, 2003
Messages
174
Location
Sydney
Gender
Male
HSC
2006
If you're doing it like that, why don't you just leave it as a button and get the button to load the forms...

If its VB, its event driven, so use the buttons rather than using a timer to wait and re-ask a question...
 

Winston

Active Member
Joined
Aug 30, 2002
Messages
6,128
Gender
Undisclosed
HSC
2003
the best method in doing splash screens, well in what i do is... make your class as the main startup object, and then slap your splash screen code into your constructor, and then put any other form instantiation calls into the constructor.
 

Wild Dan Hibiki

teh sex0r
Joined
Feb 28, 2004
Messages
649
Gender
Undisclosed
HSC
2004
i did do that

but the pseudo code doesnt matter anymore cause i realized that doin a flowchart is the same as doin the pseudo code, so it only caounts as one analysis tool
 

Winston

Active Member
Joined
Aug 30, 2002
Messages
6,128
Gender
Undisclosed
HSC
2003
Originally posted by Wild Dan Hibiki
i did do that

but the pseudo code doesnt matter anymore cause i realized that doin a flowchart is the same as doin the pseudo code, so it only caounts as one analysis tool

It's one form of documentation, i'd prefer psuedocode, getting use to psuedocode is better, as it's heavily tested in the exam.
 

Protector

a little unsane
Joined
Nov 20, 2003
Messages
174
Location
Sydney
Gender
Male
HSC
2006
Originally posted by Winston
It's one form of documentation, i'd prefer psuedocode, getting use to psuedocode is better, as it's heavily tested in the exam.
I'd agree with Winston, but also pseudocode is structured the same as programming languages are... so if you want to do anything with programming later :)
 

Winston

Active Member
Joined
Aug 30, 2002
Messages
6,128
Gender
Undisclosed
HSC
2003
Originally posted by Protector
I'd agree with Winston, but also pseudocode is structured the same as programming languages are... so if you want to do anything with programming later :)
Sort of structured the same, i'd say the most replica of all languages which has pretty much the same keywords etc as psuedocode would be Turbo Pascal.
 

Protector

a little unsane
Joined
Nov 20, 2003
Messages
174
Location
Sydney
Gender
Male
HSC
2006
Originally posted by Winston
Sort of structured the same, i'd say the most replica of all languages which has pretty much the same keywords etc as psuedocode would be Turbo Pascal.
...and no one wants to program in that.

But basically its the same structure, so if you think the idea of structuring your program is stupid, and writing sub-programs is silly, then don't program =\
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top