Main.cc: In function 'int main()':
Main.cc:11:44: error: 'julianDay' was not declared in this scope
long long birth = julianDay(y, m, d);
^
Main.cc:8:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d-%d-%d", &y, &m, &d);
^