So, I have this college project, and I need to make a POS application.
My POS (Point of Sale) has two working modes, as the supervisor, and as an employee.
To make it simpler, me and my work-mate decided to make various .c programs, to make it simpler to read the code, and possibly understand what's wrong.
So, we have the main.c file, in which you access to the interface, depending on how you run the program command.
So far, so good, but, since we want the interface to be a separated file ( interface.c ) how do I, link it to the main.c? It is simply creating an interface.h with the function headlines and including it in main.c?? And how would I compile that with gcc?
Another question, the project bases a lot on .xml file reading/writing/scanning data, can I just type:
fopen = ("Database.xml", "w");
And, other thing, that is this "atoi" function??
Thanks in Advance!!