This commit is contained in:
p-w-rs
2022-09-07 11:18:56 -05:00
commit 7bb91e666d
121 changed files with 5306 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
#include <stdio.h>
#include "stackm.h"
int main() {
stackm mystack;
smInit(&mystack);
for(int i = 0 ; i < 1000; i++) {
smPush(&mystack, i);
}
smPrint(&mystack);
for(int i = 0 ; i < 1000; i++) {
smPop(&mystack);
}
smPrint(&mystack);
return 0;
}