Hi. I'm trying to convert a certain amount of data and I need to use a library to do that. I don't know how library functions can be called and I was not able to find much info on the issue, probably because I am not phrasing the question right.
Specifically, I want to use astro/libnova to find past date sunrise/sunset times and here is a good example of how to use the library. Unfortunately, I don't know how I would execute this program? Is it in C/C++? If it is C, do I start it with
I assume that this is how a function in the library is called?
If it is, how do I find which syntax to use for each function in the library? Generally there is no man page for libraries, so how can I query the library and ask the function list?
Thanks for any help.
Specifically, I want to use astro/libnova to find past date sunrise/sunset times and here is a good example of how to use the library. Unfortunately, I don't know how I would execute this program? Is it in C/C++? If it is C, do I start it with
$ gcc <script>
?I assume that this is how a function in the library is called?
Code:
#include <libnova/rise_set.h>
If it is, how do I find which syntax to use for each function in the library? Generally there is no man page for libraries, so how can I query the library and ask the function list?
Thanks for any help.