problem: (E) Bash Plays with Functions Solution in C/C++ Archive