No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
im trying to convert julian date to calendar date and vice versa im not getting any errors, but the output im getting is ridiculous. any help is appreciated [code] #include "stdafx.h" /* int _tmain(int argc, _TCHAR* argv[]) { return 0; } */ int isLeapYear(int year){ return ((!(year % 4) && … | |
what is wrong with this? i keep getting an error that says error C2059: syntax error : 'if' && error C2059: syntax error : 'else' [code] int main (void); void menu(void); int getChoice(void); int *year, *day, *month, julianday; int dayspermonth[] = {31, 28, 31, 30, 31, 30, 31, 31, 30, … |