I wanted to know how to use leap year program in c or C++ with my FPGA.
I already know those languages but i have no idea how to use them to control my hardware. I know that there is a file called "system.h" in which there is plenty of information about the components, but i really don't know how to use them.

I'm looking for something quite simple, indeed this is for my student project which is not suppose to be very complicated. I only need to know the basics (but not too basic ).

Does anyone have any tutorial or information to help me ?

Thank you !