How can I implement a C stack validation program using an input file

visit shbcf.ru