yaloner yaloner - 26 days ago 19
C Question

What exactly is utils.h in c?

I see many programmers that include "utils.h" to their program.
Tried to search for what it is exactly and what is the proper use of utils.h, but all I found was different versions of the file.
So what is it exactly?

Answer

Many programmers define common functionalities in utils.c and declare them in utils.h . You could implement for example command line parsing methods in utils.h / utils.c.

But utils.h is no standard file to be included.

Comments