Program graficky znázorňuje prácu so zásobníkom (stack&LIFO)

Delphi & Pascal (česká wiki)
Přejít na: navigace, hledání
Category: KMP (Club of young programmers)
stack.jpgProgram: Stack.pas
File exe: Stack.exe
Example: File.txt

Program graficky znázorňuje prácu so zásobníkom (stack&LIFO). Je časťou zdrojového kódu mojej semestrálnej práce z predmetu "Údajové štruktúry 1". Štandardné procedúry ako pridaj, či zmaž prvok z vrchu zásobníka chýbaju, kedže mi išlo hlavne o základný princíp fungovania zásobníka.
Metallica
Enter Sandman
332
metal
Avril Lavigne
Hot
204
rock
Craig David
Hot Stuff
218
pop
David Jordan
Place in my heart
232
jazz
Janet Jackson
Feedback
237
pop
Katy Perry
I kissed a girl
178
dance
Lenny Kravitz
I'll be waiting
256
rock
Leona Lewis
Better in time
234
pop
Ne-yo
Closer
238
R&B
Timbaland
The way I are
209
hip hop
DMX
Lord give me a sign
216
hip hop
Eagles
Hotel california
383
ballad
Disco Boys
Start All over again
213
electronic
Anastacia
Paid my dues
199
pop
Black Eyed Peas
Gone going gone
194
R&B
Blink 182
First Date
172
punk
Metallica
Enter Sandman
332
metal
Avril Lavigne
Hot
204
rock
Craig David
Hot Stuff
218
pop
David Jordan
Place in my heart
232
jazz
Janet Jackson
Feedback
237
pop
Katy Perry
I kissed a girl
178
dance
Lenny Kravitz
I'll be waiting
256
rock
Leona Lewis
Better in time
234
pop
Ne-yo
Closer
238
R&B
Timbaland
The way I are
209
hip hop
DMX
Lord give me a sign
216
hip hop
Eagles
Hotel california
383
ballad
Disco Boys
Start All over again
213
electronic
Anastacia
Paid my dues
199
pop
Black Eyed Peas
Gone going gone
194
R&B
Blink 182
First Date
172
punk
Metallica
Enter Sandman
332
metal
Avril Lavigne
Hot
204
rock
Craig David
Hot Stuff
218
pop
David Jordan
Place in my heart
232
jazz
Janet Jackson
Feedback
237
pop
Katy Perry
I kissed a girl
178
dance
Lenny Kravitz
I'll be waiting
256
rock
Leona Lewis
Better in time
234
pop
Ne-yo
Closer
238
R&B
Timbaland
The way I are
209
hip hop
DMX
Lord give me a sign
216
hip hop
Eagles
Hotel california
383
ballad
Disco Boys
Start All over again
213
electronic
Anastacia
Paid my dues
199
pop
Black Eyed Peas
Gone going gone
194
R&B
Blink 182
First Date
172
punk