The program was written for friend's task. I spent 4 hours on it. From this simple project, I still learned more knowledge.
I ever realized a 'Stack' class in C++. By using template, I created a generic class. But in C, there is no tool to do it. For each type, I have to realize alone.
This is a C-Free project. You can use C-Free IDE to re-compile it for demo. GNU-GCC compiler is accepted more. This program was wrote by standard C, so you can use any C compiler.
This is GCC compiler demo:
gcc -o main.exe main.c list.c kernel.c
In the code, you can add code to support more functionalities.
Download: [ Code(CFREE) ]
欢迎来到这里!
我们正在构建一个小众社区,大家在这里相互信任,以平等 • 自由 • 奔放的价值观进行分享交流。最终,希望大家能够找到与自己志同道合的伙伴,共同成长。
注册 关于