repo.or.cz
/
blacktomato.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Adicionado Stack usando as Foundation.h
[blacktomato.git]
/
main.m
blob
b40776709ce6d7c3b401d869f3ade595e240ebf3
1
#import <objc/Object.h>
2
#import <stdio.h>
3
#import "Stack.h"
4
5
void main() {
6
id pilha;
7
8
pilha = [Stack new];
9
[pilha push: 12];
10
[pilha push: 15];
11
[pilha push: 22];
12
[pilha push: 79];
13
[pilha print];
14
[pilha free];
15
}