>>>>hint: You get error reports about them... right?
about headers? yes. like =
>>>>D:\Bu-Bu\training programs\my\C\OS\t1\task1.h(7): error #2161: Extraneous old-style parameter list.
That's why I told you to put the variable names in the header file...
See my first reply in this thread.
>>>>you should not have your main file making stdio.h available to your header.
how can i make stdio.h not available for header in my main file ?
You don't need to worry about that.
Just include stuff where you need to... let the include guards take care of it for you.
To phrase it another way....
The .c file can rely on the header.
The header should not rely on the .c file.