What you describ is correct. As for the code, I read it. A big array is used as a stack and the stack pointer moved to the bottom of such array at the very beginning of the .c program.

guest (Anne)
2001-4-25 -05:00

回到话题: Wish experts answer my questions in c programming under Unix in a real time system: Thanks! 1. how to enlarge the stack size in a c program? 2. should main() be the driver function in in a c program?

回到论坛: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论