先给出<time.h>编程解法
#include <iostream>
#include <time.h>
#include <iomanip>
// Suppose Gauss was born in 1777-04-30,
// and that day was denoted as 1 by him.
// For example, the relative day of 1791-12-15
// was represented as 5343.
//
// What is the absolute day of 8113?
// Answer: 1799-07-16
struct tm start = {
.tm_sec=0,
.tm_min=0