double hour_in_day=(fractpart*24);
int H = static_cast<int>(hour_in_day);
double min_in_day=modf(hour_in_day,&intpart)*60;
int Min = static_cast<int>(min_in_day);
double sec_in_day=modf(min_in_day,&intpart)*60;
int S = static_cast<int>(sec_in_day);
return (H,":",Min,":",S);
}
I imported to the main by including #include "date.hpp" where it is declared
double jdn_to_time_of_day(jdn_t jdn); in the header file
I called it in the main like this
cout<<jdn_to_time_of_day(2455473.6667);
and when it runs I get the error it is unidentified
Can anyone see what I am doing wrong as the functions above and below it all work fine.
Thanks for any help you can give.