Yes. It looks correct.
Of course, most often, more than one function (if there are several functions that belong together) is declared in the .h file and defined in the .c file.
--
Mats
Yes. It looks correct.
Of course, most often, more than one function (if there are several functions that belong together) is declared in the .h file and defined in the .c file.
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
Excellent. Thanks for the help.
"No-one else has reported this problem, you're either crazy or a liar" - Dogbert Technical Support
"Have you tried turning it off and on again?" - The IT Crowd