?? tstack.htm
字號:
<html><font size="+1"><pre>
/* tstack.c: Tests the stack of ints */
#include "stack.h"
#include <stdio.h>
int main() {
int i;
/* Populate stack */
for (i = 0; i < 11; ++i)
stk_push(i);
if (stk_error())
puts("stack error");
printf("The last element pushed was %d\n",
stk_top());
/* Pop/print stack */
while (stk_size() > 0)
printf("%d ", stk_pop());
putchar('\n');
if (!stk_error())
puts("no stack error");
return 0;
}
</pre></font></html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -