my project is split over several files so i need to declare the function bool toggle_turn(void) in a header file so main can find it. when i try to compile to test everything so far i get an error saying bool is undefined.
a) do i need to include the stdbool.h file in my own header file
b) if so do i need to declare it in main and the other source files as well.
many thanks
coop